Build Information
Successful build of JAYSON, reference main (59e9a6
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 19:02:56 UTC.
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "jayson",
"name": "JAYSON",
"url": "https://github.com/FluidGroup/JAYSON.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JAYSON",
"dependencies": [
]
}
]
}
Fetching https://github.com/FluidGroup/JAYSON.git
[1/1068] Fetching jayson
Fetched https://github.com/FluidGroup/JAYSON.git from cache (1.07s)
Creating working copy for https://github.com/FluidGroup/JAYSON.git
Working copy of https://github.com/FluidGroup/JAYSON.git resolved at main (59e9a66)
warning: '.resolve-product-dependencies': dependency 'jayson' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/FluidGroup/JAYSON.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[3/12] Compiling JAYSON JSON+StrictGetter.swift
[4/12] Compiling JAYSON Decoder.swift
[5/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 | @objc 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
[6/12] Compiling JAYSON JSON+CustomString.swift
[7/12] Compiling JAYSON JSON+StateProperty.swift
[8/12] Compiling JAYSON JSON+Codable.swift
[9/12] Compiling JAYSON JSON+OptionalProperty.swift
[10/12] Compiling JAYSON JSON+SourceType.swift
[11/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 | @objc 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
[12/12] Compiling JAYSON JSONWritableType.swift
Build complete! (15.99s)
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.