Build Information
Successful build of JSON, reference master (35ec8c
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 04:43:25 UTC.
Swift 6 data race errors: 3
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/vapor-community/json.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/json
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 35ec8cf Merge pull request #68 from vapor/cci2
Cloned https://github.com/vapor-community/json.git
Revision (git rev-parse @):
35ec8cffd27f303bbe93ec01c365084fa11e264c
SUCCESS checkout https://github.com/vapor-community/json.git at master
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/core.git
[1/4211] Fetching node
[44/24354] Fetching node, core
Fetched https://github.com/vapor/node.git from cache (1.17s)
[7655/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (1.60s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.66s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.75s)
Fetched https://github.com/vapor/debugging.git from cache (0.75s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.67s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.66s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.65s)
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
========================================
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",
"name": "JSON",
"url": "https://github.com/vapor-community/json.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/json",
"dependencies": [
{
"identity": "core",
"name": "Core",
"url": "https://github.com/vapor/core.git",
"version": "2.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/core",
"dependencies": [
{
"identity": "bits",
"name": "Bits",
"url": "https://github.com/vapor/bits.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/bits",
"dependencies": [
]
},
{
"identity": "debugging",
"name": "Debugging",
"url": "https://github.com/vapor/debugging.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/debugging",
"dependencies": [
]
}
]
},
{
"identity": "node",
"name": "Node",
"url": "https://github.com/vapor/node.git",
"version": "2.1.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/node",
"dependencies": [
{
"identity": "core",
"name": "Core",
"url": "https://github.com/vapor/core.git",
"version": "2.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/core",
"dependencies": [
{
"identity": "bits",
"name": "Bits",
"url": "https://github.com/vapor/bits.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/bits",
"dependencies": [
]
},
{
"identity": "debugging",
"name": "Debugging",
"url": "https://github.com/vapor/debugging.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/debugging",
"dependencies": [
]
}
]
},
{
"identity": "bits",
"name": "Bits",
"url": "https://github.com/vapor/bits.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/bits",
"dependencies": [
]
},
{
"identity": "debugging",
"name": "Debugging",
"url": "https://github.com/vapor/debugging.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/debugging",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/vapor-community/json.git
[10/998] Fetching json
Fetched https://github.com/vapor-community/json.git from cache (1.30s)
Fetching https://github.com/vapor/core.git from cache
Fetching https://github.com/vapor/node.git from cache
Fetched https://github.com/vapor/node.git from cache (0.55s)
Fetched https://github.com/vapor/core.git from cache (0.55s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.04s)
Fetching https://github.com/vapor/debugging.git from cache
Fetching https://github.com/vapor/bits.git from cache
Fetched https://github.com/vapor/bits.git from cache (0.50s)
Fetched https://github.com/vapor/debugging.git from cache (0.50s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.03s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.03s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.03s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor-community/json.git
Working copy of https://github.com/vapor-community/json.git resolved at master (35ec8cf)
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
warning: '.resolve-product-dependencies': dependency 'json' is not used by any target
Found 2 product dependencies
- Core
- Node
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/vapor-community/json.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/8] Write sources
[7/8] Write swift-version--7754E27361AE5C74.txt
[9/34] Compiling PathIndexable PathIndexable+Subscripting.swift
[10/34] Compiling PathIndexable PathIndexable.swift
[11/34] Emitting module PathIndexable
[12/34] Emitting module Debugging
[13/34] Compiling Debugging Debuggable.swift
[14/34] Compiling Bits String+BytesConvertible.swift
[15/34] Compiling Bits UnsignedInteger+BytesConvertible.swift
[16/35] Compiling Bits HexEncoder.swift
[17/35] Compiling Bits Operators.swift
[18/35] Compiling Bits UnsignedInteger+Shifting.swift
[19/35] Compiling libc libc.swift
[20/35] Emitting module libc
[21/35] Compiling Bits Bytes+Hex.swift
[22/35] Compiling Bits Bytes+Percent.swift
[23/35] Compiling Bits Byte+Random.swift
[24/35] Compiling Bits Byte+UTF8Numbers.swift
[25/35] Compiling Bits ByteSequence+Conversions.swift
[26/35] Compiling Bits Bytes+Base64.swift
[27/35] Compiling Bits Byte+Alphabet.swift
[28/35] Compiling Bits Byte+ControlCharacters.swift
[29/35] Emitting module Bits
[30/35] Compiling Bits Aliases.swift
[31/35] Compiling Bits Base64Encoder.swift
[32/35] Compiling Bits Byte+Convenience.swift
[33/35] Compiling Bits Byte+PatternMatching.swift
[34/35] Compiling Bits BytesConvertible.swift
[35/35] Compiling Bits Data+BytesConvertible.swift
[36/57] Emitting module Core
[37/59] Compiling Core Result.swift
[38/59] Compiling Core Semaphore.swift
[39/59] Compiling Core String.swift
[40/59] Compiling Core WorkingDirectory.swift
[41/59] Compiling Core Extendable.swift
[42/59] Compiling Core FileProtocol.swift
[43/59] Compiling Core DispatchTime+Utilities.swift
[44/59] Compiling Core EmptyInitializable.swift
[45/59] Compiling Core Exports.swift
[46/59] Compiling Core Portal.swift
[47/59] Compiling Core RFC1123.swift
[48/59] Compiling Core Int+Hex.swift
[49/59] Compiling Core Lock.swift
[50/59] Compiling Core String+CaseInsensitiveCompare.swift
[51/59] Compiling Core String+Polymorphic.swift
[52/59] Compiling Core Sequence.swift
[53/59] Compiling Core StaticDataBuffer.swift
[54/59] Compiling Core Array.swift
[55/59] Compiling Core Bits.swift
[56/59] Compiling Core Cache.swift
[57/59] Compiling Core Collection+Safe.swift
[58/59] Compiling Core DataFile.swift
[59/59] Compiling Core Dispatch.swift
[60/95] Compiling Node FloatingPoint+Convertible.swift
[61/95] Compiling Node Integer+Convertible.swift
[62/95] Compiling Node Schema+Convertible.swift
[63/95] Compiling Node SchemaWrapper+Convertible.swift
[64/98] Compiling Node String+Convertible.swift
[65/98] Compiling Node UUID+Convertible.swift
[66/98] Compiling Node UnsignedInteger+Convertible.swift
[67/98] Compiling Node Context.swift
[68/98] Compiling Node Getters.swift
[69/98] Compiling Node Setters.swift
[70/98] Compiling Node Bool+Convertible.swift
[71/98] Compiling Node Date+Convertible.swift
[72/98] Compiling Node StructuredDataWrapper+PathIndexable.swift
[73/98] Compiling Node StructuredDataWrapper+Polymorphic.swift
[74/98] Compiling Node StructuredDataWrapper.swift
[75/98] Compiling Node StructuredDataWrapper+Cases.swift
[76/98] Compiling Node StructuredDataWrapper+Convenience.swift
[77/98] Compiling Node StructuredDataWrapper+Equatable.swift
[78/98] Compiling Node StructuredDataWrapper+Literals.swift
[79/98] Compiling Node StructuredData+Init.swift
[80/98] Compiling Node StructuredData+PathIndexable.swift
[81/98] Compiling Node StructuredData+Polymorphic.swift
[82/98] Compiling Node StructuredData.swift
[83/98] Compiling Node Node.swift
[84/98] Compiling Node NodeConvertible.swift
[85/98] Compiling Node NodeInitializable.swift
[86/98] Compiling Node NodeRepresentable.swift
[87/98] Compiling Node Array+Convertible.swift
[88/98] Compiling Node Dictionary+Convertible.swift
[89/98] Compiling Node Fuzzy+Any.swift
[90/98] Compiling Node FuzzyConverter.swift
[91/98] Emitting module Node
[92/98] Compiling Node Optional+Convertible.swift
[93/98] Compiling Node Set+Convertible.swift
[94/98] Compiling Node Number.swift
[95/98] Compiling Node StructuredData+Equatable.swift
[96/98] Compiling Node Errors.swift
[97/98] Compiling Node Exports.swift
[98/98] Compiling Node Identifier.swift
[99/107] Compiling JSON JSONRepresentable.swift
[100/107] Compiling JSON Sequence+Convertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:11:23: warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct JSON: StructuredDataWrapper {
11 | public static var defaultContext: Context? = jsonContext
| |- warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContext' 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
12 | public var wrapped: StructuredData
13 | public let context: Context
[101/107] Compiling JSON JSONContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSONContext.swift:2:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public final class JSONContext: Context {
| `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
2 | internal static let shared = JSONContext()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
3 | fileprivate init() {}
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSONContext.swift:6:12: warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public final class JSONContext: Context {
| `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
2 | internal static let shared = JSONContext()
3 | fileprivate init() {}
4 | }
5 |
6 | public let jsonContext = JSONContext.shared
| |- warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonContext' 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 | extension Context {
[102/107] Compiling JSON JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:11:23: warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct JSON: StructuredDataWrapper {
11 | public static var defaultContext: Context? = jsonContext
| |- warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContext' 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
12 | public var wrapped: StructuredData
13 | public let context: Context
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSONContext.swift:6:12: warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public final class JSONContext: Context {
| `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
2 | internal static let shared = JSONContext()
3 | fileprivate init() {}
4 | }
5 |
6 | public let jsonContext = JSONContext.shared
| |- warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonContext' 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 | extension Context {
[103/107] Compiling JSON JSON+Serialize.swift
[104/107] Compiling JSON JSON+Fuzzy.swift
[105/107] Compiling JSON JSON+Parse.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:11:23: warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct JSON: StructuredDataWrapper {
11 | public static var defaultContext: Context? = jsonContext
| |- warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContext' 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
12 | public var wrapped: StructuredData
13 | public let context: Context
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON+Parse.swift:129:31: warning: reference to static property 'outgoingDateFormatter' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
127 | return value
128 | case .date(let date):
129 | let string = Date.outgoingDateFormatter.string(from: date)
| `- warning: reference to static property 'outgoingDateFormatter' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | return string
131 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/node/Sources/Node/Convertibles/Date+Convertible.swift:53:23: note: static property declared here
51 | the user is responsible for handling their date formatting manually.
52 | */
53 | public static var outgoingDateFormatter: DateFormatter = .iso8601
| `- note: static property declared here
54 |
55 | /**
[106/107] Emitting module JSON
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:11:23: warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct JSON: StructuredDataWrapper {
11 | public static var defaultContext: Context? = jsonContext
| |- warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContext' 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
12 | public var wrapped: StructuredData
13 | public let context: Context
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSONContext.swift:6:12: warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public final class JSONContext: Context {
| `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
2 | internal static let shared = JSONContext()
3 | fileprivate init() {}
4 | }
5 |
6 | public let jsonContext = JSONContext.shared
| |- warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonContext' 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 | extension Context {
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSONContext.swift:2:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public final class JSONContext: Context {
| `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
2 | internal static let shared = JSONContext()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
3 | fileprivate init() {}
4 | }
[107/107] Compiling JSON JSON+Bytes.swift
Build complete! (10.21s)
Build complete.
{
"dependencies" : [
{
"identity" : "core",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/core.git"
},
{
"identity" : "node",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/node.git"
}
],
"manifest_display_name" : "JSON",
"name" : "JSON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "JSON",
"targets" : [
"JSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JSONTests",
"module_type" : "SwiftTarget",
"name" : "JSONTests",
"path" : "Tests/JSONTests",
"sources" : [
"JSONConvertibleTests.swift",
"JSONTests.swift"
],
"target_dependencies" : [
"JSON"
],
"type" : "test"
},
{
"c99name" : "JSON",
"module_type" : "SwiftTarget",
"name" : "JSON",
"path" : "Sources/JSON",
"product_dependencies" : [
"Core",
"Node"
],
"product_memberships" : [
"JSON"
],
"sources" : [
"JSON+Bytes.swift",
"JSON+Fuzzy.swift",
"JSON+Parse.swift",
"JSON+Serialize.swift",
"JSON.swift",
"JSONContext.swift",
"JSONRepresentable.swift",
"Sequence+Convertible.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.