Build Information
Successful build of CleanJSON, reference 1.0.9 (6e2f21
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 12:51:08 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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Pircate/CleanJSON.git
Reference: 1.0.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Pircate/CleanJSON
* tag 1.0.9 -> FETCH_HEAD
HEAD is now at 6e2f211 release 1.0.9 version
Cloned https://github.com/Pircate/CleanJSON.git
Revision (git rev-parse @):
6e2f211578880c9181dbd29b3b96ca507e40e307
SUCCESS checkout https://github.com/Pircate/CleanJSON.git at 1.0.9
========================================
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": "cleanjson",
"name": "CleanJSON",
"url": "https://github.com/Pircate/CleanJSON.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CleanJSON",
"dependencies": [
]
}
]
}
Fetching https://github.com/Pircate/CleanJSON.git
[1/1895] Fetching cleanjson
Fetched https://github.com/Pircate/CleanJSON.git from cache (1.48s)
Creating working copy for https://github.com/Pircate/CleanJSON.git
Working copy of https://github.com/Pircate/CleanJSON.git resolved at 1.0.9 (6e2f211)
warning: '.resolve-product-dependencies': dependency 'cleanjson' 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/Pircate/CleanJSON.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/19] Compiling CleanJSON _CleanJSONDecoder+Unbox.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:454:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
452 |
453 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
454 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
455 | let formatter = ISO8601DateFormatter()
456 | formatter.formatOptions = .withInternetDateTime
[4/20] Emitting module CleanJSON
/Users/admin/builder/spi-builder-workspace/Sources/CleanJSON/CleanJSONDecoder.swift:23:12: warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
21 | }
22 |
23 | open class CleanJSONDecoder: JSONDecoder {
| `- warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
24 |
25 | /// Options set on the top-level encoder to pass down the decoding hierarchy.
/Users/admin/builder/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:454:13: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
452 |
453 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
454 | private var _iso8601Formatter: ISO8601DateFormatter = {
| |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
455 | let formatter = ISO8601DateFormatter()
456 | formatter.formatOptions = .withInternetDateTime
[5/20] Compiling CleanJSON _CleanJSONDecoder+SingleValueDecodingContainer.swift
[6/20] Compiling CleanJSON DecodingError+CleanJSON.swift
[7/20] Compiling CleanJSON DecodingStrategy.swift
[8/20] Compiling CleanJSON CleanJSONUnkeyedDecodingContainer.swift
[9/20] Compiling CleanJSON CodingKeysConverter.swift
[10/20] Compiling CleanJSON ToJSON.swift
[11/20] Compiling CleanJSON _CleanJSONDecoder+Decode.swift
[12/20] Compiling CleanJSON CleanJSONKey.swift
[13/20] Compiling CleanJSON CleanJSONKeyedDecodingContainer.swift
[14/20] Compiling CleanJSON CleanJSONDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleanJSON/CleanJSONDecoder.swift:23:12: warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
21 | }
22 |
23 | open class CleanJSONDecoder: JSONDecoder {
| `- warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
24 |
25 | /// Options set on the top-level encoder to pass down the decoding hierarchy.
[15/20] Compiling CleanJSON CleanJSONDecodingStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleanJSON/CleanJSONDecoder.swift:23:12: warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
21 | }
22 |
23 | open class CleanJSONDecoder: JSONDecoder {
| `- warning: class 'CleanJSONDecoder' must restate inherited '@unchecked Sendable' conformance
24 |
25 | /// Options set on the top-level encoder to pass down the decoding hierarchy.
[16/20] Compiling CleanJSON CaseDefaultable.swift
[17/20] Compiling CleanJSON CleanDecoder.swift
[18/20] Compiling CleanJSON Defaultable.swift
[19/20] Compiling CleanJSON JSONAdapter.swift
[20/20] Compiling CleanJSON _CleanJSONDecoder.swift
Build complete! (17.56s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CleanJSON",
"name" : "CleanJSON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CleanJSON",
"targets" : [
"CleanJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CleanJSONTests",
"module_type" : "SwiftTarget",
"name" : "CleanJSONTests",
"path" : "Tests/CleanJSONTests",
"sources" : [
"CleanJSONTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"CleanJSON"
],
"type" : "test"
},
{
"c99name" : "CleanJSON",
"module_type" : "SwiftTarget",
"name" : "CleanJSON",
"path" : "Sources/CleanJSON",
"product_memberships" : [
"CleanJSON"
],
"sources" : [
"CaseDefaultable.swift",
"CleanDecoder.swift",
"CleanJSONDecoder.swift",
"CleanJSONDecodingStorage.swift",
"CleanJSONKey.swift",
"CleanJSONKeyedDecodingContainer.swift",
"CleanJSONUnkeyedDecodingContainer.swift",
"CodingKeysConverter.swift",
"DecodingError+CleanJSON.swift",
"DecodingStrategy.swift",
"Defaultable.swift",
"JSONAdapter.swift",
"ToJSON.swift",
"_CleanJSONDecoder+Decode.swift",
"_CleanJSONDecoder+SingleValueDecodingContainer.swift",
"_CleanJSONDecoder+Unbox.swift",
"_CleanJSONDecoder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.