Build Information
Successful build of Gloss, reference main (a0d883
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 13:06:20 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/hkellaway/Gloss.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hkellaway/Gloss
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a0d8834 Use main
Cloned https://github.com/hkellaway/Gloss.git
Revision (git rev-parse @):
a0d8834faa7af21e7e02834530164784bba5a173
SUCCESS checkout https://github.com/hkellaway/Gloss.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": "gloss",
"name": "Gloss",
"url": "https://github.com/hkellaway/Gloss.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Gloss",
"dependencies": [
]
}
]
}
Fetching https://github.com/hkellaway/Gloss.git
[1/3823] Fetching gloss
Fetched https://github.com/hkellaway/Gloss.git from cache (1.17s)
Creating working copy for https://github.com/hkellaway/Gloss.git
Working copy of https://github.com/hkellaway/Gloss.git resolved at main (a0d8834)
warning: '.resolve-product-dependencies': dependency 'gloss' 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/hkellaway/Gloss.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/11] Compiling Gloss ExtensionEncodable.swift
[4/11] Compiling Gloss Operators.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:205:25: warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
203 | - returns: Default key path delimiter.
204 | */
205 | public private(set) var GlossKeyPathDelimiter: String = {
| |- warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'GlossKeyPathDelimiter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'GlossKeyPathDelimiter' 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
206 | return "."
207 | }()
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Decoder.swift:34:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Default logger
34 | public static var logger: Logger = GlossLogger()
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
35 |
36 | /**
[5/11] Emitting module Gloss
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Decoder.swift:34:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Default logger
34 | public static var logger: Logger = GlossLogger()
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
35 |
36 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:205:25: warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
203 | - returns: Default key path delimiter.
204 | */
205 | public private(set) var GlossKeyPathDelimiter: String = {
| |- warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'GlossKeyPathDelimiter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'GlossKeyPathDelimiter' 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
206 | return "."
207 | }()
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:87:25: warning: var 'GlossDateFormatterISO8601' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | - returns: Date formatter.
86 | */
87 | public private(set) var GlossDateFormatterISO8601: DateFormatter = {
| |- warning: var 'GlossDateFormatterISO8601' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'GlossDateFormatterISO8601' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'GlossDateFormatterISO8601' 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
88 |
89 | let dateFormatterISO8601 = DateFormatter()
[6/11] Compiling Gloss Encoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:87:25: warning: var 'GlossDateFormatterISO8601' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | - returns: Date formatter.
86 | */
87 | public private(set) var GlossDateFormatterISO8601: DateFormatter = {
| |- warning: var 'GlossDateFormatterISO8601' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'GlossDateFormatterISO8601' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'GlossDateFormatterISO8601' 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
88 |
89 | let dateFormatterISO8601 = DateFormatter()
[7/11] Compiling Gloss ExtensionArray.swift
[8/11] Compiling Gloss ExtensionDecodable.swift
[9/11] Compiling Gloss Gloss.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:87:25: warning: var 'GlossDateFormatterISO8601' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | - returns: Date formatter.
86 | */
87 | public private(set) var GlossDateFormatterISO8601: DateFormatter = {
| |- warning: var 'GlossDateFormatterISO8601' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'GlossDateFormatterISO8601' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'GlossDateFormatterISO8601' 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
88 |
89 | let dateFormatterISO8601 = DateFormatter()
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:205:25: warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
203 | - returns: Default key path delimiter.
204 | */
205 | public private(set) var GlossKeyPathDelimiter: String = {
| |- warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'GlossKeyPathDelimiter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'GlossKeyPathDelimiter' 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
206 | return "."
207 | }()
[10/11] Compiling Gloss Decoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Decoder.swift:34:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Default logger
34 | public static var logger: Logger = GlossLogger()
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
35 |
36 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:205:25: warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
203 | - returns: Default key path delimiter.
204 | */
205 | public private(set) var GlossKeyPathDelimiter: String = {
| |- warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'GlossKeyPathDelimiter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'GlossKeyPathDelimiter' 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
206 | return "."
207 | }()
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:87:25: warning: var 'GlossDateFormatterISO8601' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | - returns: Date formatter.
86 | */
87 | public private(set) var GlossDateFormatterISO8601: DateFormatter = {
| |- warning: var 'GlossDateFormatterISO8601' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'GlossDateFormatterISO8601' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'GlossDateFormatterISO8601' 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
88 |
89 | let dateFormatterISO8601 = DateFormatter()
[11/11] Compiling Gloss ExtensionDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gloss/Gloss.swift:205:25: warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
203 | - returns: Default key path delimiter.
204 | */
205 | public private(set) var GlossKeyPathDelimiter: String = {
| |- warning: var 'GlossKeyPathDelimiter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'GlossKeyPathDelimiter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'GlossKeyPathDelimiter' 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
206 | return "."
207 | }()
Build complete! (10.58s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Gloss",
"name" : "Gloss",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Gloss",
"targets" : [
"Gloss"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GlossTests",
"module_type" : "SwiftTarget",
"name" : "GlossTests",
"path" : "Sources/GlossTests",
"sources" : [
"Comparators.swift",
"DecoderTests.swift",
"EncoderTests.swift",
"Fakes/FakeLogger.swift",
"FlowObjectCreationTests.swift",
"GlossTests.swift",
"KeyPathTests.swift",
"ObjectToJSONFlowTests.swift",
"OperatorTests.swift",
"Test Models/TestFailableModel.swift",
"Test Models/TestKeyPathModel.swift",
"Test Models/TestKeyPathModelCustomDelimiter.swift",
"Test Models/TestModel.swift",
"Test Models/TestNestedKeyPathModel.swift",
"Test Models/TestNestedModel.swift",
"Test Models/TestUnknownTypeModel.swift"
],
"target_dependencies" : [
"Gloss"
],
"type" : "test"
},
{
"c99name" : "Gloss",
"module_type" : "SwiftTarget",
"name" : "Gloss",
"path" : "Sources/Gloss",
"product_memberships" : [
"Gloss"
],
"sources" : [
"Decoder.swift",
"Encoder.swift",
"ExtensionArray.swift",
"ExtensionDecodable.swift",
"ExtensionDictionary.swift",
"ExtensionEncodable.swift",
"Gloss.swift",
"Operators.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.