Build Information
Successful build of Countries, reference 1.0.0 (b240c1
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 04:14:13 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/skelpo/Countries.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/skelpo/Countries
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at b240c11 Merge pull request #5 from skelpo/develop
Cloned https://github.com/skelpo/Countries.git
Revision (git rev-parse @):
b240c113f6035426bf04332119cf98d825e1b0a6
SUCCESS checkout https://github.com/skelpo/Countries.git at 1.0.0
========================================
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": "countries",
"name": "Countries",
"url": "https://github.com/skelpo/Countries.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Countries",
"dependencies": [
]
}
]
}
Fetching https://github.com/skelpo/Countries.git
[3/274] Fetching countries
Fetched https://github.com/skelpo/Countries.git from cache (0.69s)
Creating working copy for https://github.com/skelpo/Countries.git
Working copy of https://github.com/skelpo/Countries.git resolved at 1.0.0 (b240c11)
warning: '.resolve-product-dependencies': dependency 'countries' 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/skelpo/Countries.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/8] Compiling Countries Countries+String.swift
/Users/admin/builder/spi-builder-workspace/Sources/Countries/Countries+String.swift:7:17: warning: var 'regex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | fileprivate var regex: NSRegularExpression!
| |- warning: var 'regex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'regex' 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
8 |
9 | extension String {
[4/8] Emitting module Countries
/Users/admin/builder/spi-builder-workspace/Sources/Countries/Countries+String.swift:7:17: warning: var 'regex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | fileprivate var regex: NSRegularExpression!
| |- warning: var 'regex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'regex' 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
8 |
9 | extension String {
[5/8] Compiling Countries CustomStringConvertible.swift
[6/8] Compiling Countries Countries+Name.swift
[7/8] Compiling Countries Provice.swift
[8/8] Compiling Countries Countries.swift
Build complete! (7.13s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Countries",
"name" : "Countries",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Countries",
"targets" : [
"Countries"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CountriesTests",
"module_type" : "SwiftTarget",
"name" : "CountriesTests",
"path" : "Tests/CountriesTests",
"sources" : [
"CountriesTests.swift"
],
"target_dependencies" : [
"Countries"
],
"type" : "test"
},
{
"c99name" : "Countries",
"module_type" : "SwiftTarget",
"name" : "Countries",
"path" : "Sources/Countries",
"product_memberships" : [
"Countries"
],
"sources" : [
"Countries+Name.swift",
"Countries+String.swift",
"Countries.swift",
"CustomStringConvertible.swift",
"Provice.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.