Build Information
Successful build of RBBJSON, reference main (b6a8ac
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 06:42:58 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/robb/RBBJSON.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/robb/RBBJSON
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b6a8ac6 Create FUNDING.yml
Cloned https://github.com/robb/RBBJSON.git
Revision (git rev-parse @):
b6a8ac6f2cd8b043632dfcede71b5db5fc46913e
SUCCESS checkout https://github.com/robb/RBBJSON.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": "rbbjson",
"name": "RBBJSON",
"url": "https://github.com/robb/RBBJSON.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RBBJSON",
"dependencies": [
]
}
]
}
Fetching https://github.com/robb/RBBJSON.git
[1/144] Fetching rbbjson
Fetched https://github.com/robb/RBBJSON.git from cache (0.78s)
Creating working copy for https://github.com/robb/RBBJSON.git
Working copy of https://github.com/robb/RBBJSON.git resolved at main (b6a8ac6)
warning: '.resolve-product-dependencies': dependency 'rbbjson' 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/robb/RBBJSON.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 -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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/11] Compiling RBBJSON RBBJSON+PlaygroundSupport.swift
[4/11] Compiling RBBJSON RBBJSON+String.swift
[5/11] Compiling RBBJSON RBBJSON+Date.swift
/Users/admin/builder/spi-builder-workspace/Sources/RBBJSON/RBBJSON+Date.swift:6:32: warning: static property 'isoParser' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public extension Date {
5 | enum JSONDateStringDecodingStrategy: Hashable {
6 | fileprivate static let isoParser = ISO8601DateFormatter()
| |- warning: static property 'isoParser' 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 'isoParser' 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
7 |
8 | case iso8601
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 }
[6/11] Compiling RBBJSON RBBJSONQuery.swift
[7/11] Emitting module RBBJSON
/Users/admin/builder/spi-builder-workspace/Sources/RBBJSON/RBBJSON+Date.swift:6:32: warning: static property 'isoParser' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public extension Date {
5 | enum JSONDateStringDecodingStrategy: Hashable {
6 | fileprivate static let isoParser = ISO8601DateFormatter()
| |- warning: static property 'isoParser' 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 'isoParser' 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
7 |
8 | case iso8601
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 }
[8/11] Compiling RBBJSON RBBJSON+Comparable.swift
[9/11] Compiling RBBJSON RBBJSON+Numbers.swift
[10/11] Compiling RBBJSON RBBJSON.swift
[11/11] Compiling RBBJSON RBBJSON+Boolean.swift
Build complete! (12.58s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "RBBJSON",
"name" : "RBBJSON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "RBBJSON",
"targets" : [
"RBBJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RBBJSONTests",
"module_type" : "SwiftTarget",
"name" : "RBBJSONTests",
"path" : "Tests/RBBJSONTests",
"sources" : [
"BooleanTests.swift",
"ComparisonTests.swift",
"DateTests.swift",
"NumbersTests.swift",
"QueryTests.swift",
"RBBJSON+Literals.swift",
"RBBJSONTests.swift",
"READMETests.swift",
"SequenceTests.swift",
"StringTests.swift"
],
"target_dependencies" : [
"RBBJSON"
],
"type" : "test"
},
{
"c99name" : "RBBJSON",
"module_type" : "SwiftTarget",
"name" : "RBBJSON",
"path" : "Sources/RBBJSON",
"product_memberships" : [
"RBBJSON"
],
"sources" : [
"RBBJSON+Boolean.swift",
"RBBJSON+Comparable.swift",
"RBBJSON+Date.swift",
"RBBJSON+Numbers.swift",
"RBBJSON+PlaygroundSupport.swift",
"RBBJSON+String.swift",
"RBBJSON.swift",
"RBBJSONQuery.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.