Build Information
Successful build of json-rpc2, reference main (aa977b
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 10:49:29 UTC.
Swift 6 data race errors: 1
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finsig/json-rpc2.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/finsig/json-rpc2
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at aa977b9 Make JSONRPC2Error codes public
Cloned https://github.com/finsig/json-rpc2.git
Revision (git rev-parse @):
aa977b971b4baf6d905d8c1e0efbf71299fec330
SUCCESS checkout https://github.com/finsig/json-rpc2.git at main
Fetching https://github.com/finsig/json
[1/26] Fetching json
Fetched https://github.com/finsig/json from cache (0.72s)
Computing version for https://github.com/finsig/json
Computed https://github.com/finsig/json at 0.1.0 (0.55s)
Creating working copy for https://github.com/finsig/json
Working copy of https://github.com/finsig/json resolved at 0.1.0
========================================
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": "json-rpc2",
"name": "json-rpc2",
"url": "https://github.com/finsig/json-rpc2.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/json-rpc2",
"dependencies": [
{
"identity": "json",
"name": "json",
"url": "https://github.com/finsig/json",
"version": "0.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/json",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/finsig/json-rpc2.git
[1/42] Fetching json-rpc2
Fetched https://github.com/finsig/json-rpc2.git from cache (0.67s)
Fetching https://github.com/finsig/json from cache
Fetched https://github.com/finsig/json from cache (0.48s)
Computing version for https://github.com/finsig/json
Computed https://github.com/finsig/json at 0.1.0 (0.02s)
Creating working copy for https://github.com/finsig/json
Working copy of https://github.com/finsig/json resolved at 0.1.0
Creating working copy for https://github.com/finsig/json-rpc2.git
Working copy of https://github.com/finsig/json-rpc2.git resolved at main (aa977b9)
warning: '.resolve-product-dependencies': dependency 'json-rpc2' is not used by any target
Found 1 product dependencies
- json
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/finsig/json-rpc2.git
{
"dependencies" : [
{
"identity" : "json",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/finsig/json"
}
],
"manifest_display_name" : "json-rpc2",
"name" : "json-rpc2",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "JSONRPC2",
"targets" : [
"JSONRPC2"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JSONRPC2Tests",
"module_type" : "SwiftTarget",
"name" : "JSONRPC2Tests",
"path" : "Tests/JSONRPC2Tests",
"sources" : [
"Public/IdentifierTests.swift",
"Public/NotificationTests.swift",
"Public/ResponseTests.swift"
],
"target_dependencies" : [
"JSONRPC2"
],
"type" : "test"
},
{
"c99name" : "JSONRPC2",
"module_type" : "SwiftTarget",
"name" : "JSONRPC2",
"path" : "Sources/JSONRPC2",
"product_dependencies" : [
"JSON"
],
"product_memberships" : [
"JSONRPC2"
],
"sources" : [
"Internal/JSONRPCVersion.swift",
"JSONRPC2.swift",
"Public/Batch.swift",
"Public/Identifier.swift",
"Public/JSONRPC2Error.swift",
"Public/JSONRPC2ErrorCode.swift",
"Public/Notification.swift",
"Public/Request.swift",
"Public/RequestParameters.swift",
"Public/Response.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/7] Compiling JSON Primitive.swift
[5/7] Compiling JSON Object.swift
[6/7] Compiling JSON JSON.swift
[7/7] Emitting module JSON
[8/17] Compiling JSONRPC2 Notification.swift
[9/18] Compiling JSONRPC2 RequestParameters.swift
[10/18] Compiling JSONRPC2 JSONRPC2Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONRPC2/Public/JSONRPC2Error.swift:18:16: warning: stored property 'errorInfo' of 'Sendable'-conforming struct 'JSONRPC2Error' has non-sendable type 'JSON?'; this is an error in the Swift 6 language mode
16 | public let code: Int
17 | public let message: String
18 | public let errorInfo: JSON?
| `- warning: stored property 'errorInfo' of 'Sendable'-conforming struct 'JSONRPC2Error' has non-sendable type 'JSON?'; this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/json/Sources/JSON/Model/JSON.swift:18:13: note: enum 'JSON' does not conform to the 'Sendable' protocol
16 |
17 | */
18 | public enum JSON {
| `- note: enum 'JSON' does not conform to the 'Sendable' protocol
19 | case object(Object)
20 | case array(Array<JSON>)
/Users/admin/builder/spi-builder-workspace/Sources/JSONRPC2/Public/JSONRPC2Error.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JSON'
5 |
6 | import Foundation
7 | import JSON
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JSON'
8 |
9 | /**
[11/18] Compiling JSONRPC2 Batch.swift
[12/18] Compiling JSONRPC2 Identifier.swift
[13/18] Compiling JSONRPC2 JSONRPC2.swift
[14/18] Compiling JSONRPC2 JSONRPC2ErrorCode.swift
[15/18] Compiling JSONRPC2 JSONRPCVersion.swift
[16/18] Emitting module JSONRPC2
/Users/admin/builder/spi-builder-workspace/Sources/JSONRPC2/Public/JSONRPC2Error.swift:18:16: warning: stored property 'errorInfo' of 'Sendable'-conforming struct 'JSONRPC2Error' has non-sendable type 'JSON?'; this is an error in the Swift 6 language mode
16 | public let code: Int
17 | public let message: String
18 | public let errorInfo: JSON?
| `- warning: stored property 'errorInfo' of 'Sendable'-conforming struct 'JSONRPC2Error' has non-sendable type 'JSON?'; this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/json/Sources/JSON/Model/JSON.swift:18:13: note: enum 'JSON' does not conform to the 'Sendable' protocol
16 |
17 | */
18 | public enum JSON {
| `- note: enum 'JSON' does not conform to the 'Sendable' protocol
19 | case object(Object)
20 | case array(Array<JSON>)
/Users/admin/builder/spi-builder-workspace/Sources/JSONRPC2/Public/JSONRPC2Error.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JSON'
5 |
6 | import Foundation
7 | import JSON
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JSON'
8 |
9 | /**
[17/18] Compiling JSONRPC2 Request.swift
[18/18] Compiling JSONRPC2 Response.swift
Build complete! (12.63s)
Build complete.
{
"dependencies" : [
{
"identity" : "json",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/finsig/json"
}
],
"manifest_display_name" : "json-rpc2",
"name" : "json-rpc2",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "JSONRPC2",
"targets" : [
"JSONRPC2"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JSONRPC2Tests",
"module_type" : "SwiftTarget",
"name" : "JSONRPC2Tests",
"path" : "Tests/JSONRPC2Tests",
"sources" : [
"Public/IdentifierTests.swift",
"Public/NotificationTests.swift",
"Public/ResponseTests.swift"
],
"target_dependencies" : [
"JSONRPC2"
],
"type" : "test"
},
{
"c99name" : "JSONRPC2",
"module_type" : "SwiftTarget",
"name" : "JSONRPC2",
"path" : "Sources/JSONRPC2",
"product_dependencies" : [
"JSON"
],
"product_memberships" : [
"JSONRPC2"
],
"sources" : [
"Internal/JSONRPCVersion.swift",
"JSONRPC2.swift",
"Public/Batch.swift",
"Public/Identifier.swift",
"Public/JSONRPC2Error.swift",
"Public/JSONRPC2ErrorCode.swift",
"Public/Notification.swift",
"Public/Request.swift",
"Public/RequestParameters.swift",
"Public/Response.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.