Build Information
Successful build of SwiftSerialization, reference main (864287
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 14:35:14 UTC.
Swift 6 data race errors: 2
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/Andre-Pham/SwiftSerialization.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Andre-Pham/SwiftSerialization
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8642876 Further documentation for methods that don't executing using the queue within the SerializationDatabase
Cloned https://github.com/Andre-Pham/SwiftSerialization.git
Revision (git rev-parse @):
8642876acf667390685661f14dd79e6a438f55bf
SUCCESS checkout https://github.com/Andre-Pham/SwiftSerialization.git at main
Fetching https://github.com/SwiftyJSON/SwiftyJSON
[1/6114] Fetching swiftyjson
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (1.42s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (0.66s)
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.2
========================================
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": "swiftserialization",
"name": "SwiftSerialization",
"url": "https://github.com/Andre-Pham/SwiftSerialization.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSerialization",
"dependencies": [
{
"identity": "swiftyjson",
"name": "SwiftyJSON",
"url": "https://github.com/SwiftyJSON/SwiftyJSON",
"version": "5.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyJSON",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Andre-Pham/SwiftSerialization.git
[1/288] Fetching swiftserialization
Fetched https://github.com/Andre-Pham/SwiftSerialization.git from cache (0.73s)
Fetching https://github.com/SwiftyJSON/SwiftyJSON from cache
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (0.56s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (0.02s)
Creating working copy for https://github.com/Andre-Pham/SwiftSerialization.git
Working copy of https://github.com/Andre-Pham/SwiftSerialization.git resolved at main (8642876)
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.2
warning: '.resolve-product-dependencies': dependency 'swiftserialization' is not used by any target
Found 1 product dependencies
- SwiftyJSON
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Andre-Pham/SwiftSerialization.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/4] Write sources
[2/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/7] Compiling SwiftyJSON resource_bundle_accessor.swift
[6/7] Emitting module SwiftyJSON
[7/7] Compiling SwiftyJSON SwiftyJSON.swift
[8/16] Compiling SwiftSerialization TestObjects.swift
[9/16] Compiling SwiftSerialization Metadata.swift
[10/16] Compiling SwiftSerialization DatabaseTarget.swift
[11/16] Compiling SwiftSerialization Record.swift
[12/16] Compiling SwiftSerialization Storable.swift
[13/16] Compiling SwiftSerialization SerializationDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSerialization/Data/Legacy.swift:17:29: warning: static property 'oldClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static private(set) var newClassNames: [String: String] = [:] // old: new
16 | /// A dictionary of class names and their legacy counterparts
17 | static private(set) var oldClassNames: [String: [String]] = [:] // new: old
| |- warning: static property 'oldClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oldClassNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oldClassNames' 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
18 |
19 | /// Add a class name refactoring to consider when restoring objects that were written before the refactor.
[14/16] Emitting module SwiftSerialization
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSerialization/Data/Legacy.swift:15:29: warning: static property 'newClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// A dictionary of class names that may be stored and have been since refactored to a new name
15 | static private(set) var newClassNames: [String: String] = [:] // old: new
| |- warning: static property 'newClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newClassNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'newClassNames' 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
16 | /// A dictionary of class names and their legacy counterparts
17 | static private(set) var oldClassNames: [String: [String]] = [:] // new: old
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSerialization/Data/Legacy.swift:17:29: warning: static property 'oldClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static private(set) var newClassNames: [String: String] = [:] // old: new
16 | /// A dictionary of class names and their legacy counterparts
17 | static private(set) var oldClassNames: [String: [String]] = [:] // new: old
| |- warning: static property 'oldClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oldClassNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oldClassNames' 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
18 |
19 | /// Add a class name refactoring to consider when restoring objects that were written before the refactor.
[15/16] Compiling SwiftSerialization DataObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSerialization/Data/Legacy.swift:15:29: warning: static property 'newClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// A dictionary of class names that may be stored and have been since refactored to a new name
15 | static private(set) var newClassNames: [String: String] = [:] // old: new
| |- warning: static property 'newClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newClassNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'newClassNames' 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
16 | /// A dictionary of class names and their legacy counterparts
17 | static private(set) var oldClassNames: [String: [String]] = [:] // new: old
[16/16] Compiling SwiftSerialization Legacy.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSerialization/Data/Legacy.swift:15:29: warning: static property 'newClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// A dictionary of class names that may be stored and have been since refactored to a new name
15 | static private(set) var newClassNames: [String: String] = [:] // old: new
| |- warning: static property 'newClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newClassNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'newClassNames' 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
16 | /// A dictionary of class names and their legacy counterparts
17 | static private(set) var oldClassNames: [String: [String]] = [:] // new: old
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSerialization/Data/Legacy.swift:17:29: warning: static property 'oldClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static private(set) var newClassNames: [String: String] = [:] // old: new
16 | /// A dictionary of class names and their legacy counterparts
17 | static private(set) var oldClassNames: [String: [String]] = [:] // new: old
| |- warning: static property 'oldClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oldClassNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oldClassNames' 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
18 |
19 | /// Add a class name refactoring to consider when restoring objects that were written before the refactor.
Build complete! (16.52s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftyjson",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftyJSON/SwiftyJSON"
}
],
"manifest_display_name" : "SwiftSerialization",
"name" : "SwiftSerialization",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftSerialization",
"targets" : [
"SwiftSerialization"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftSerializationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSerializationTests",
"path" : "Tests/SwiftSerializationTests",
"sources" : [
"DataObjectTests.swift",
"DatabaseTargetTests.swift",
"LegacyTests.swift",
"ThreadingTests.swift",
"TransactionTests.swift"
],
"target_dependencies" : [
"SwiftSerialization"
],
"type" : "test"
},
{
"c99name" : "SwiftSerialization",
"module_type" : "SwiftTarget",
"name" : "SwiftSerialization",
"path" : "Sources/SwiftSerialization",
"product_dependencies" : [
"SwiftyJSON"
],
"product_memberships" : [
"SwiftSerialization"
],
"sources" : [
"Data/DataObject.swift",
"Data/Legacy.swift",
"Data/Storable.swift",
"Database/Database Targets/SQLite/SerializationDatabase.swift",
"Database/DatabaseTarget.swift",
"Database/Metadata.swift",
"Database/Record.swift",
"Testing/TestObjects.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.