Build Information
Successful build of ProvisioningProfile, reference main (c30888
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 11:23:12 UTC.
Swift 6 data race errors: 4
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/ChrisMash/ProvisioningProfile.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChrisMash/ProvisioningProfile
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c30888e Update README.md
Cloned https://github.com/ChrisMash/ProvisioningProfile.git
Revision (git rev-parse @):
c30888e1addb29d872ec779613fb715012b72312
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChrisMash/ProvisioningProfile.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": "provisioningprofile",
"name": "ProvisioningProfile",
"url": "https://github.com/ChrisMash/ProvisioningProfile.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ProvisioningProfile",
"dependencies": [
]
}
]
}
Fetching https://github.com/ChrisMash/ProvisioningProfile.git
[1/173] Fetching provisioningprofile
Fetched https://github.com/ChrisMash/ProvisioningProfile.git from cache (0.86s)
Creating working copy for https://github.com/ChrisMash/ProvisioningProfile.git
Working copy of https://github.com/ChrisMash/ProvisioningProfile.git resolved at main (c30888e)
warning: '.resolve-product-dependencies': dependency 'provisioningprofile' 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/ChrisMash/ProvisioningProfile.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/7] Compiling ProvisioningProfile FileLoader.swift
[4/7] Emitting module ProvisioningProfile
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:14:23: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Custom `DateFormatter` for generating `formattedExpiryDate`, defaults to `nil`.
13 | /// If required, ensure you set this property before accessing `profile()`.
14 | public static var dateFormatter: DateFormatter?
| |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter' 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
15 | /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
16 | /// If required, ensure you set this property before accessing `profile()`.
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:17: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
15 | /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
16 | /// If required, ensure you set this property before accessing `profile()`.
17 | public static var logger: Logger?
| |- 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
18 |
19 | /// The name of the provisioning profile, if successfully parsed.
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:28:25: warning: static property 'cachedProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | public let formattedExpiryDate: String?
27 |
28 | internal static var cachedProfile: ProvisioningProfile?
| |- warning: static property 'cachedProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedProfile' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedProfile' 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
29 | internal static var bundleToLoadFrom: Bundle?
30 |
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:29:25: warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | internal static var cachedProfile: ProvisioningProfile?
29 | internal static var bundleToLoadFrom: Bundle?
| |- warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundleToLoadFrom' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bundleToLoadFrom' 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
30 |
31 | /// The provisioning profile for the current app, if available.
[5/7] Compiling ProvisioningProfile Logger.swift
[6/7] Compiling ProvisioningProfile ProvisioningProfile.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:14:23: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Custom `DateFormatter` for generating `formattedExpiryDate`, defaults to `nil`.
13 | /// If required, ensure you set this property before accessing `profile()`.
14 | public static var dateFormatter: DateFormatter?
| |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter' 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
15 | /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
16 | /// If required, ensure you set this property before accessing `profile()`.
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:17: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
15 | /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
16 | /// If required, ensure you set this property before accessing `profile()`.
17 | public static var logger: Logger?
| |- 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
18 |
19 | /// The name of the provisioning profile, if successfully parsed.
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:28:25: warning: static property 'cachedProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | public let formattedExpiryDate: String?
27 |
28 | internal static var cachedProfile: ProvisioningProfile?
| |- warning: static property 'cachedProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedProfile' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedProfile' 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
29 | internal static var bundleToLoadFrom: Bundle?
30 |
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:29:25: warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | internal static var cachedProfile: ProvisioningProfile?
29 | internal static var bundleToLoadFrom: Bundle?
| |- warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundleToLoadFrom' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bundleToLoadFrom' 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
30 |
31 | /// The provisioning profile for the current app, if available.
[7/7] Compiling ProvisioningProfile ProvisioningProfileParser.swift
Build complete! (6.40s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ProvisioningProfile",
"name" : "ProvisioningProfile",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
},
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "ProvisioningProfile",
"targets" : [
"ProvisioningProfile"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ProvisioningProfileTests",
"module_type" : "SwiftTarget",
"name" : "ProvisioningProfileTests",
"path" : "Tests/ProvisioningProfileTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/embedded.mobileprovision",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/embedded.provisionprofile",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/invaliddate.mobileprovision",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/missingdate.mobileprovision",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/test.txt",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"FileLoaderTests.swift",
"ProvisioningProfileParserTests.swift",
"ProvisioningProfileTests.swift",
"TestLogger.swift",
"TestUtils.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ProvisioningProfile"
],
"type" : "test"
},
{
"c99name" : "ProvisioningProfile",
"module_type" : "SwiftTarget",
"name" : "ProvisioningProfile",
"path" : "Sources/ProvisioningProfile",
"product_memberships" : [
"ProvisioningProfile"
],
"sources" : [
"FileLoader.swift",
"Logger.swift",
"ProvisioningProfile.swift",
"ProvisioningProfileParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.