Build Information
Successful build of Kodable with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jarmourato/Kodable.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jarmourato/Kodable
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 56f0533 #21 improve messages from errors
Cloned https://github.com/jarmourato/Kodable.git
Revision (git rev-parse @):
56f0533168718cf236e831f705debe1e67a99298
SUCCESS checkout https://github.com/jarmourato/Kodable.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/jarmourato/Kodable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[3/5] Compiling CRuntime dummy.c
[4/5] Write swift-version-6F35C1178C84523A.txt
[6/54] Emitting module Runtime
[7/58] Compiling Runtime GettersSetters.swift
[8/58] Compiling Runtime Pointer+Extensions.swift
[9/58] Compiling Runtime RetainCounts.swift
[10/58] Compiling Runtime String+Extensions.swift
[11/58] Compiling Runtime ClassMetadata.swift
[12/58] Compiling Runtime EnumMetadata.swift
[13/58] Compiling Runtime FuntionMetadata.swift
[14/58] Compiling Runtime Metadata.swift
[15/58] Compiling Runtime MetadataType.swift
[16/58] Compiling Runtime PropertyInfo.swift
[17/58] Compiling Runtime TypeInfo.swift
[18/58] Compiling Runtime TypeInfoConvertible.swift
[19/58] Compiling Runtime Pointers.swift
[20/58] Compiling Runtime MetadataLayoutType.swift
[21/58] Compiling Runtime ProtocolDescriptor.swift
[22/58] Compiling Runtime ProtocolMetadataLayout.swift
[23/58] Compiling Runtime ProtocolTypeContainer.swift
[24/58] Compiling Runtime StructMetadataLayout.swift
[25/58] Compiling Runtime StructTypeDescriptor.swift
[26/58] Compiling Runtime TargetTypeGenericContextDescriptorHeader.swift
[27/58] Compiling Runtime TupleMetadataLayout.swift
[28/58] Compiling Runtime TypeDescriptor.swift
[29/58] Compiling Runtime ValueWitnessTable.swift
[30/58] Compiling Runtime NominalMetadataType.swift
[31/58] Compiling Runtime ProtocolMetadata.swift
[32/58] Compiling Runtime StructMetadata.swift
[33/58] Compiling Runtime TupleMetadata.swift
[34/58] Compiling Runtime Case.swift
[35/58] Compiling Runtime Errors.swift
[36/58] Compiling Runtime FunctionInfo.swift
[37/58] Compiling Runtime Kind.swift
[38/58] Compiling Runtime RelativePointer.swift
[39/58] Compiling Runtime RelativeVectorPointer.swift
[40/58] Compiling Runtime Union.swift
[41/58] Compiling Runtime Vector.swift
[42/58] Compiling Runtime EnumMetadataLayout.swift
[43/58] Compiling Runtime EnumTypeDescriptor.swift
[44/58] Compiling Runtime ExistentialContainter.swift
[45/58] Compiling Runtime FieldDescriptor.swift
[46/58] Compiling Runtime FunctionMetadataLayout.swift
[47/58] Compiling JSEN JSEN.swift
[48/58] Compiling JSEN JSEN+SyntacticSugar.swift
[49/58] Compiling JSEN JSENRepresentable.swift
[50/58] Compiling JSEN JSEN+KeyPath.swift
[51/58] Emitting module JSEN
[52/58] Compiling JSEN JSEN+Codable.swift
[53/58] Compiling JSEN KeyPath.swift
[54/58] Compiling Runtime DefaultValue.swift
[55/58] Compiling Runtime Factory.swift
[56/58] Compiling Runtime ClassHeader.swift
[57/58] Compiling Runtime ClassMetadataLayout.swift
[58/58] Compiling Runtime ClassTypeDescriptor.swift
[59/75] Compiling Kodable KodableOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableOptions+Presets.swift:90:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
88 | }
89 |
90 | extension Optional: Comparable where Wrapped: Comparable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
91 | public static func < (lhs: Optional, rhs: Optional) -> Bool {
92 | switch (lhs, rhs) {
[60/75] Compiling Kodable KodableOptions+Presets.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableOptions+Presets.swift:90:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
88 | }
89 |
90 | extension Optional: Comparable where Wrapped: Comparable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
91 | public static func < (lhs: Optional, rhs: Optional) -> Bool {
92 | switch (lhs, rhs) {
[61/75] Compiling Kodable CodableDate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wrappers/CodableDate.swift:117:24: warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 |
117 | private static let iso8601Formatter = ISO8601DateFormatter()
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | private static let iso8601WithFractionalSecondsFormatter: ISO8601DateFormatter = {
119 | let result = ISO8601DateFormatter()
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Wrappers/CodableDate.swift:118:24: warning: static property 'iso8601WithFractionalSecondsFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
116 |
117 | private static let iso8601Formatter = ISO8601DateFormatter()
118 | private static let iso8601WithFractionalSecondsFormatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601WithFractionalSecondsFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601WithFractionalSecondsFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | let result = ISO8601DateFormatter()
120 | result.formatOptions.insert(.withFractionalSeconds)
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Wrappers/CodableDate.swift:126:24: warning: static property 'formatters' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
124 | private static let rfc2822Formatter: DateFormatter = getFormatter("EEE, d MMM y HH:mm:ss zzz")
125 | private static let rfc3339Formatter: DateFormatter = getFormatter("yyyy-MM-dd'T'HH:mm:ssZ")
126 | private static var formatters: [String: Formatter] = [:]
| |- warning: static property 'formatters' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'formatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | private static func getFormatter(_ dateFormat: String) -> DateFormatter {
[62/75] Compiling Kodable Codable+AnyCodingKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/Codable+Lossless.swift:166:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
164 | // MARK: Optional LossLessDecodable Conformance
165 |
166 | extension Optional: CustomStringConvertible where Wrapped: LosslessDecodable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
167 | public var description: String {
168 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/Codable+Lossless.swift:175:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
173 | }
174 |
175 | extension Optional: LosslessStringConvertible where Wrapped: LosslessDecodable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
176 | public init?(_ description: String) {
177 | self = Wrapped(description)
[63/75] Compiling Kodable Codable+Lossless.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/Codable+Lossless.swift:166:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
164 | // MARK: Optional LossLessDecodable Conformance
165 |
166 | extension Optional: CustomStringConvertible where Wrapped: LosslessDecodable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
167 | public var description: String {
168 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/Codable+Lossless.swift:175:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
173 | }
174 |
175 | extension Optional: LosslessStringConvertible where Wrapped: LosslessDecodable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
176 | public init?(_ description: String) {
177 | self = Wrapped(description)
[64/75] Compiling Kodable KodableTransformable.swift
[65/75] Compiling Kodable Kodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableError.swift:11:10: warning: associated value 'validationFailed(type:property:parsedValue:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | case failedToParseDate(source: String)
10 | /// Thrown whenever there is at least one validation modifier that fails the validation of the value parsed
11 | case validationFailed(type: Any, property: String, parsedValue: Any)
| `- warning: associated value 'validationFailed(type:property:parsedValue:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 | /// Thrown whenever a property cannot be decoded
13 | indirect case failedDecodingProperty(property: String, key: String, type: Any, underlyingError: KodableError)
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableError.swift:11:10: warning: associated value 'validationFailed(type:property:parsedValue:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | case failedToParseDate(source: String)
10 | /// Thrown whenever there is at least one validation modifier that fails the validation of the value parsed
11 | case validationFailed(type: Any, property: String, parsedValue: Any)
| `- warning: associated value 'validationFailed(type:property:parsedValue:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 | /// Thrown whenever a property cannot be decoded
13 | indirect case failedDecodingProperty(property: String, key: String, type: Any, underlyingError: KodableError)
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableError.swift:13:19: warning: associated value 'failedDecodingProperty(property:key:type:underlyingError:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
11 | case validationFailed(type: Any, property: String, parsedValue: Any)
12 | /// Thrown whenever a property cannot be decoded
13 | indirect case failedDecodingProperty(property: String, key: String, type: Any, underlyingError: KodableError)
| `- warning: associated value 'failedDecodingProperty(property:key:type:underlyingError:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 | /// Thrown whenever a Type cannot be decoded
15 | indirect case failedDecodingType(type: Any, underlyingError: KodableError)
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableError.swift:15:19: warning: associated value 'failedDecodingType(type:underlyingError:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 | indirect case failedDecodingProperty(property: String, key: String, type: Any, underlyingError: KodableError)
14 | /// Thrown whenever a Type cannot be decoded
15 | indirect case failedDecodingType(type: Any, underlyingError: KodableError)
| `- warning: associated value 'failedDecodingType(type:underlyingError:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
16 | }
17 |
[66/75] Compiling Kodable KodableError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableError.swift:11:10: warning: associated value 'validationFailed(type:property:parsedValue:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | case failedToParseDate(source: String)
10 | /// Thrown whenever there is at least one validation modifier that fails the validation of the value parsed
11 | case validationFailed(type: Any, property: String, parsedValue: Any)
| `- warning: associated value 'validationFailed(type:property:parsedValue:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 | /// Thrown whenever a property cannot be decoded
13 | indirect case failedDecodingProperty(property: String, key: String, type: Any, underlyingError: KodableError)
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableError.swift:11:10: warning: associated value 'validationFailed(type:property:parsedValue:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | case failedToParseDate(source: String)
10 | /// Thrown whenever there is at least one validation modifier that fails the validation of the value parsed
11 | case validationFailed(type: Any, property: String, parsedValue: Any)
| `- warning: associated value 'validationFailed(type:property:parsedValue:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 | /// Thrown whenever a property cannot be decoded
13 | indirect case failedDecodingProperty(property: String, key: String, type: Any, underlyingError: KodableError)
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableError.swift:13:19: warning: associated value 'failedDecodingProperty(property:key:type:underlyingError:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
11 | case validationFailed(type: Any, property: String, parsedValue: Any)
12 | /// Thrown whenever a property cannot be decoded
13 | indirect case failedDecodingProperty(property: String, key: String, type: Any, underlyingError: KodableError)
| `- warning: associated value 'failedDecodingProperty(property:key:type:underlyingError:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 | /// Thrown whenever a Type cannot be decoded
15 | indirect case failedDecodingType(type: Any, underlyingError: KodableError)
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableError.swift:15:19: warning: associated value 'failedDecodingType(type:underlyingError:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 | indirect case failedDecodingProperty(property: String, key: String, type: Any, underlyingError: KodableError)
14 | /// Thrown whenever a Type cannot be decoded
15 | indirect case failedDecodingType(type: Any, underlyingError: KodableError)
| `- warning: associated value 'failedDecodingType(type:underlyingError:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
16 | }
17 |
[67/76] Compiling Kodable Runtime+Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Runtime+Utilities.swift:32:24: warning: static property 'cachedTypeInfo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private static var cachedTypeInfo: [HashedType: TypeInfo] = [:]
| |- warning: static property 'cachedTypeInfo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedTypeInfo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedTypeInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[68/76] Compiling Kodable TryCatch+Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Runtime+Utilities.swift:32:24: warning: static property 'cachedTypeInfo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private static var cachedTypeInfo: [HashedType: TypeInfo] = [:]
| |- warning: static property 'cachedTypeInfo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedTypeInfo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedTypeInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[69/76] Compiling Kodable DebugJSON.swift
[70/76] Compiling Kodable Codable+NestedKeyable.swift
[71/76] Compiling Kodable Codable+Utilities.swift
[72/76] Compiling Kodable Comparable+Utilities.swift
[73/76] Emitting module Kodable
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Runtime+Utilities.swift:32:24: warning: static property 'cachedTypeInfo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private static var cachedTypeInfo: [HashedType: TypeInfo] = [:]
| |- warning: static property 'cachedTypeInfo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedTypeInfo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedTypeInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/Codable+Lossless.swift:166:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
164 | // MARK: Optional LossLessDecodable Conformance
165 |
166 | extension Optional: CustomStringConvertible where Wrapped: LosslessDecodable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
167 | public var description: String {
168 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/Codable+Lossless.swift:175:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
173 | }
174 |
175 | extension Optional: LosslessStringConvertible where Wrapped: LosslessDecodable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
176 | public init?(_ description: String) {
177 | self = Wrapped(description)
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableError.swift:11:10: warning: associated value 'validationFailed(type:property:parsedValue:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | case failedToParseDate(source: String)
10 | /// Thrown whenever there is at least one validation modifier that fails the validation of the value parsed
11 | case validationFailed(type: Any, property: String, parsedValue: Any)
| `- warning: associated value 'validationFailed(type:property:parsedValue:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 | /// Thrown whenever a property cannot be decoded
13 | indirect case failedDecodingProperty(property: String, key: String, type: Any, underlyingError: KodableError)
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableError.swift:11:10: warning: associated value 'validationFailed(type:property:parsedValue:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | case failedToParseDate(source: String)
10 | /// Thrown whenever there is at least one validation modifier that fails the validation of the value parsed
11 | case validationFailed(type: Any, property: String, parsedValue: Any)
| `- warning: associated value 'validationFailed(type:property:parsedValue:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 | /// Thrown whenever a property cannot be decoded
13 | indirect case failedDecodingProperty(property: String, key: String, type: Any, underlyingError: KodableError)
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableError.swift:13:19: warning: associated value 'failedDecodingProperty(property:key:type:underlyingError:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
11 | case validationFailed(type: Any, property: String, parsedValue: Any)
12 | /// Thrown whenever a property cannot be decoded
13 | indirect case failedDecodingProperty(property: String, key: String, type: Any, underlyingError: KodableError)
| `- warning: associated value 'failedDecodingProperty(property:key:type:underlyingError:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 | /// Thrown whenever a Type cannot be decoded
15 | indirect case failedDecodingType(type: Any, underlyingError: KodableError)
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableError.swift:15:19: warning: associated value 'failedDecodingType(type:underlyingError:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 | indirect case failedDecodingProperty(property: String, key: String, type: Any, underlyingError: KodableError)
14 | /// Thrown whenever a Type cannot be decoded
15 | indirect case failedDecodingType(type: Any, underlyingError: KodableError)
| `- warning: associated value 'failedDecodingType(type:underlyingError:)' of 'Sendable'-conforming enum 'KodableError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Kodable/KodableOptions+Presets.swift:90:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
88 | }
89 |
90 | extension Optional: Comparable where Wrapped: Comparable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
91 | public static func < (lhs: Optional, rhs: Optional) -> Bool {
92 | switch (lhs, rhs) {
/Users/admin/builder/spi-builder-workspace/Sources/Wrappers/CodableDate.swift:117:24: warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 |
117 | private static let iso8601Formatter = ISO8601DateFormatter()
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | private static let iso8601WithFractionalSecondsFormatter: ISO8601DateFormatter = {
119 | let result = ISO8601DateFormatter()
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Wrappers/CodableDate.swift:118:24: warning: static property 'iso8601WithFractionalSecondsFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
116 |
117 | private static let iso8601Formatter = ISO8601DateFormatter()
118 | private static let iso8601WithFractionalSecondsFormatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601WithFractionalSecondsFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601WithFractionalSecondsFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | let result = ISO8601DateFormatter()
120 | result.formatOptions.insert(.withFractionalSeconds)
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Wrappers/CodableDate.swift:126:24: warning: static property 'formatters' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
124 | private static let rfc2822Formatter: DateFormatter = getFormatter("EEE, d MMM y HH:mm:ss zzz")
125 | private static let rfc3339Formatter: DateFormatter = getFormatter("yyyy-MM-dd'T'HH:mm:ssZ")
126 | private static var formatters: [String: Formatter] = [:]
| |- warning: static property 'formatters' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'formatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | private static func getFormatter(_ dateFormat: String) -> DateFormatter {
[74/76] Compiling Kodable DecodingError+Utilities.swift
[75/76] Compiling Kodable Optional+Utilities.swift
[76/76] Compiling Kodable Coding.swift
Build complete! (33.94s)
Fetching https://github.com/wickwirew/Runtime
Fetching https://github.com/rogerluan/JSEN
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1951] Fetching runtime
[99/3198] Fetching runtime, cwlpreconditiontesting
[249/3322] Fetching runtime, cwlpreconditiontesting, jsen
Fetched https://github.com/rogerluan/JSEN from cache (1.09s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.09s)
Fetched https://github.com/wickwirew/Runtime from cache (1.09s)
Computing version for https://github.com/rogerluan/JSEN
Computed https://github.com/rogerluan/JSEN at 1.2.1 (0.65s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.1 (0.66s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[5/439] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.86s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.0 (0.65s)
Computing version for https://github.com/wickwirew/Runtime
Computed https://github.com/wickwirew/Runtime at 2.2.6 (0.66s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.1
Creating working copy for https://github.com/wickwirew/Runtime
Working copy of https://github.com/wickwirew/Runtime resolved at 2.2.6
Creating working copy for https://github.com/rogerluan/JSEN
Working copy of https://github.com/rogerluan/JSEN resolved at 1.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.0
Build complete.
{
"dependencies" : [
{
"identity" : "cwlpreconditiontesting",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattgallagher/CwlPreconditionTesting.git"
},
{
"identity" : "jsen",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/rogerluan/JSEN"
},
{
"identity" : "runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wickwirew/Runtime"
}
],
"manifest_display_name" : "Kodable",
"name" : "Kodable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "Kodable",
"targets" : [
"Kodable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KodableTests",
"module_type" : "SwiftTarget",
"name" : "KodableTests",
"path" : "Tests",
"product_dependencies" : [
"CwlPreconditionTesting"
],
"sources" : [
"KodableTests.swift",
"XCTestCase+Utilities.swift"
],
"target_dependencies" : [
"Kodable"
],
"type" : "test"
},
{
"c99name" : "Kodable",
"module_type" : "SwiftTarget",
"name" : "Kodable",
"path" : "Sources",
"product_dependencies" : [
"Runtime",
"JSEN"
],
"product_memberships" : [
"Kodable"
],
"sources" : [
"Debug/DebugJSON.swift",
"Extensions/Codable+NestedKeyable.swift",
"Extensions/Codable+Utilities.swift",
"Extensions/Comparable+Utilities.swift",
"Extensions/DecodingError+Utilities.swift",
"Extensions/Optional+Utilities.swift",
"Extensions/Runtime+Utilities.swift",
"Extensions/TryCatch+Utilities.swift",
"Kodable/Codable+AnyCodingKey.swift",
"Kodable/Codable+Lossless.swift",
"Kodable/Kodable.swift",
"Kodable/KodableError.swift",
"Kodable/KodableOption.swift",
"Kodable/KodableOptions+Presets.swift",
"Kodable/KodableTransformable.swift",
"Wrappers/CodableDate.swift",
"Wrappers/Coding.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.