Build Information
Successful build of JAYSON 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/FluidGroup/JAYSON.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/JAYSON
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 59e9a66 Update workflow
Cloned https://github.com/FluidGroup/JAYSON.git
Revision (git rev-parse @):
59e9a669b0d18a6536f3592a22a6d08538a718ec
SUCCESS checkout https://github.com/FluidGroup/JAYSON.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/FluidGroup/JAYSON.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/12] Compiling JAYSON JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:26:8: warning: associated value 'notFoundKeyPath(keyPath:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'KeyPath<JSON, JSON?>'; this is an error in the Swift 6 language mode
24 |
25 | public enum JSONError: Error {
26 | case notFoundKeyPath(keyPath: KeyPath<JSON, JSON?>, json: JSON)
| `- warning: associated value 'notFoundKeyPath(keyPath:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'KeyPath<JSON, JSON?>'; this is an error in the Swift 6 language mode
27 | case notFoundKey(key: String, json: JSON)
28 | case notFoundIndex(index: Int, json: JSON)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:29:8: warning: associated value 'failedToGetString(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
27 | case notFoundKey(key: String, json: JSON)
28 | case notFoundIndex(index: Int, json: JSON)
29 | case failedToGetString(source: Any, json: JSON)
| `- warning: associated value 'failedToGetString(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
30 | case failedToGetBool(source: Any, json: JSON)
31 | case failedToGetNumber(source: Any, json: JSON)
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:30:8: warning: associated value 'failedToGetBool(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
28 | case notFoundIndex(index: Int, json: JSON)
29 | case failedToGetString(source: Any, json: JSON)
30 | case failedToGetBool(source: Any, json: JSON)
| `- warning: associated value 'failedToGetBool(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
31 | case failedToGetNumber(source: Any, json: JSON)
32 | case failedToGetArray(source: Any, json: JSON)
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:31:8: warning: associated value 'failedToGetNumber(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
29 | case failedToGetString(source: Any, json: JSON)
30 | case failedToGetBool(source: Any, json: JSON)
31 | case failedToGetNumber(source: Any, json: JSON)
| `- warning: associated value 'failedToGetNumber(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
32 | case failedToGetArray(source: Any, json: JSON)
33 | case failedToGetDictionary(source: Any, json: JSON)
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:32:8: warning: associated value 'failedToGetArray(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
30 | case failedToGetBool(source: Any, json: JSON)
31 | case failedToGetNumber(source: Any, json: JSON)
32 | case failedToGetArray(source: Any, json: JSON)
| `- warning: associated value 'failedToGetArray(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
33 | case failedToGetDictionary(source: Any, json: JSON)
34 | case failedToParseURL(source: Any, json: JSON)
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:33:8: warning: associated value 'failedToGetDictionary(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
31 | case failedToGetNumber(source: Any, json: JSON)
32 | case failedToGetArray(source: Any, json: JSON)
33 | case failedToGetDictionary(source: Any, json: JSON)
| `- warning: associated value 'failedToGetDictionary(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
34 | case failedToParseURL(source: Any, json: JSON)
35 | case decodeError(source: Any, json: JSON, decodeError: Error)
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:34:8: warning: associated value 'failedToParseURL(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
32 | case failedToGetArray(source: Any, json: JSON)
33 | case failedToGetDictionary(source: Any, json: JSON)
34 | case failedToParseURL(source: Any, json: JSON)
| `- warning: associated value 'failedToParseURL(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
35 | case decodeError(source: Any, json: JSON, decodeError: Error)
36 | case failedToInitializeFromJSONString(String)
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:35:8: warning: associated value 'decodeError(source:json:decodeError:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
33 | case failedToGetDictionary(source: Any, json: JSON)
34 | case failedToParseURL(source: Any, json: JSON)
35 | case decodeError(source: Any, json: JSON, decodeError: Error)
| `- warning: associated value 'decodeError(source:json:decodeError:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
36 | case failedToInitializeFromJSONString(String)
37 | case invalidJSONObject
[4/12] Compiling JAYSON JSON+StrictGetter.swift
[5/12] Compiling JAYSON JSON+StateProperty.swift
[6/12] Compiling JAYSON JSON+Codable.swift
[7/12] Compiling JAYSON JSON+SourceType.swift
[8/12] Emitting module JAYSON
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:26:8: warning: associated value 'notFoundKeyPath(keyPath:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'KeyPath<JSON, JSON?>'; this is an error in the Swift 6 language mode
24 |
25 | public enum JSONError: Error {
26 | case notFoundKeyPath(keyPath: KeyPath<JSON, JSON?>, json: JSON)
| `- warning: associated value 'notFoundKeyPath(keyPath:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'KeyPath<JSON, JSON?>'; this is an error in the Swift 6 language mode
27 | case notFoundKey(key: String, json: JSON)
28 | case notFoundIndex(index: Int, json: JSON)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:29:8: warning: associated value 'failedToGetString(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
27 | case notFoundKey(key: String, json: JSON)
28 | case notFoundIndex(index: Int, json: JSON)
29 | case failedToGetString(source: Any, json: JSON)
| `- warning: associated value 'failedToGetString(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
30 | case failedToGetBool(source: Any, json: JSON)
31 | case failedToGetNumber(source: Any, json: JSON)
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:30:8: warning: associated value 'failedToGetBool(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
28 | case notFoundIndex(index: Int, json: JSON)
29 | case failedToGetString(source: Any, json: JSON)
30 | case failedToGetBool(source: Any, json: JSON)
| `- warning: associated value 'failedToGetBool(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
31 | case failedToGetNumber(source: Any, json: JSON)
32 | case failedToGetArray(source: Any, json: JSON)
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:31:8: warning: associated value 'failedToGetNumber(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
29 | case failedToGetString(source: Any, json: JSON)
30 | case failedToGetBool(source: Any, json: JSON)
31 | case failedToGetNumber(source: Any, json: JSON)
| `- warning: associated value 'failedToGetNumber(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
32 | case failedToGetArray(source: Any, json: JSON)
33 | case failedToGetDictionary(source: Any, json: JSON)
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:32:8: warning: associated value 'failedToGetArray(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
30 | case failedToGetBool(source: Any, json: JSON)
31 | case failedToGetNumber(source: Any, json: JSON)
32 | case failedToGetArray(source: Any, json: JSON)
| `- warning: associated value 'failedToGetArray(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
33 | case failedToGetDictionary(source: Any, json: JSON)
34 | case failedToParseURL(source: Any, json: JSON)
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:33:8: warning: associated value 'failedToGetDictionary(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
31 | case failedToGetNumber(source: Any, json: JSON)
32 | case failedToGetArray(source: Any, json: JSON)
33 | case failedToGetDictionary(source: Any, json: JSON)
| `- warning: associated value 'failedToGetDictionary(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
34 | case failedToParseURL(source: Any, json: JSON)
35 | case decodeError(source: Any, json: JSON, decodeError: Error)
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:34:8: warning: associated value 'failedToParseURL(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
32 | case failedToGetArray(source: Any, json: JSON)
33 | case failedToGetDictionary(source: Any, json: JSON)
34 | case failedToParseURL(source: Any, json: JSON)
| `- warning: associated value 'failedToParseURL(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
35 | case decodeError(source: Any, json: JSON, decodeError: Error)
36 | case failedToInitializeFromJSONString(String)
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/JSON.swift:35:8: warning: associated value 'decodeError(source:json:decodeError:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
33 | case failedToGetDictionary(source: Any, json: JSON)
34 | case failedToParseURL(source: Any, json: JSON)
35 | case decodeError(source: Any, json: JSON, decodeError: Error)
| `- warning: associated value 'decodeError(source:json:decodeError:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
36 | case failedToInitializeFromJSONString(String)
37 | case invalidJSONObject
[9/12] Compiling JAYSON JSON+CustomString.swift
[10/12] Compiling JAYSON Decoder.swift
[11/12] Compiling JAYSON JSON+OptionalProperty.swift
[12/12] Compiling JAYSON JSONWritableType.swift
Build complete! (27.08s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/JAYSON/Info.plist
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "JAYSON",
"name" : "JAYSON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "JAYSON",
"targets" : [
"JAYSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JAYSON",
"module_type" : "SwiftTarget",
"name" : "JAYSON",
"path" : "Sources/JAYSON",
"product_memberships" : [
"JAYSON"
],
"sources" : [
"Decoder.swift",
"JSON+Codable.swift",
"JSON+CustomString.swift",
"JSON+OptionalProperty.swift",
"JSON+SourceType.swift",
"JSON+StateProperty.swift",
"JSON+StrictGetter.swift",
"JSON.swift",
"JSONWritableType.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.