Build Information
Successful build of IsoCountryCodes, reference 1.0.3 (f66725), with Swift 6.1 for macOS (SPM) on 21 May 2025 10:22:11 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.62.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/funky-monkey/IsoCountryCodes.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/funky-monkey/IsoCountryCodes
* tag 1.0.3 -> FETCH_HEAD
HEAD is now at f667254 Merge pull request #20 from shagedorn/add-kosovo
Cloned https://github.com/funky-monkey/IsoCountryCodes.git
Revision (git rev-parse @):
f6672549f8d99bb6a8c7bc5233bc8630bb92c172
SUCCESS checkout https://github.com/funky-monkey/IsoCountryCodes.git at 1.0.3
========================================
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": "isocountrycodes",
"name": "IsoCountryCodes",
"url": "https://github.com/funky-monkey/IsoCountryCodes.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IsoCountryCodes",
"dependencies": [
]
}
]
}
Fetching https://github.com/funky-monkey/IsoCountryCodes.git
[1/162] Fetching isocountrycodes
Fetched https://github.com/funky-monkey/IsoCountryCodes.git from cache (0.76s)
Creating working copy for https://github.com/funky-monkey/IsoCountryCodes.git
Working copy of https://github.com/funky-monkey/IsoCountryCodes.git resolved at 1.0.3 (f667254)
warning: '.resolve-product-dependencies': dependency 'isocountrycodes' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/funky-monkey/IsoCountryCodes.git
https://github.com/funky-monkey/IsoCountryCodes.git
{
"dependencies" : [
],
"manifest_display_name" : "IsoCountryCodes",
"name" : "IsoCountryCodes",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "IsoCountryCodes",
"targets" : [
"IsoCountryCodes"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "IsoCountryCodesTests",
"module_type" : "SwiftTarget",
"name" : "IsoCountryCodesTests",
"path" : "Tests",
"sources" : [
"IsoCountryCodesTests.swift"
],
"target_dependencies" : [
"IsoCountryCodes"
],
"type" : "test"
},
{
"c99name" : "IsoCountryCodes",
"module_type" : "SwiftTarget",
"name" : "IsoCountryCodes",
"path" : "Sources",
"product_memberships" : [
"IsoCountryCodes"
],
"sources" : [
"IsoCountries.swift",
"IsoCountryCodes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/5] Compiling IsoCountryCodes IsoCountries.swift
/Users/admin/builder/spi-builder-workspace/Sources/IsoCountries.swift:44:23: warning: static property 'allCountries' is not concurrency-safe because non-'Sendable' type '[IsoCountryInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct IsoCountryInfo {
| `- note: consider making struct 'IsoCountryInfo' conform to the 'Sendable' protocol
10 |
11 | public let name: String
:
42 |
43 | // swiftlint:disable line_length
44 | public static let allCountries: [IsoCountryInfo] = [
| |- warning: static property 'allCountries' is not concurrency-safe because non-'Sendable' type '[IsoCountryInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allCountries' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | IsoCountryInfo(name: "Afghanistan", numeric: "004", alpha2: "AF", alpha3: "AFG", calling: "+93", currency: "AFN", continent: "AS", fractionDigits: 2),
46 | IsoCountryInfo(name: "Åland Islands", numeric: "248", alpha2: "AX", alpha3: "ALA", calling: "+358", currency: "FIM", continent: "EU", fractionDigits: 2),
[4/5] Emitting module IsoCountryCodes
/Users/admin/builder/spi-builder-workspace/Sources/IsoCountries.swift:44:23: warning: static property 'allCountries' is not concurrency-safe because non-'Sendable' type '[IsoCountryInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct IsoCountryInfo {
| `- note: consider making struct 'IsoCountryInfo' conform to the 'Sendable' protocol
10 |
11 | public let name: String
:
42 |
43 | // swiftlint:disable line_length
44 | public static let allCountries: [IsoCountryInfo] = [
| |- warning: static property 'allCountries' is not concurrency-safe because non-'Sendable' type '[IsoCountryInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allCountries' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | IsoCountryInfo(name: "Afghanistan", numeric: "004", alpha2: "AF", alpha3: "AFG", calling: "+93", currency: "AFN", continent: "AS", fractionDigits: 2),
46 | IsoCountryInfo(name: "Åland Islands", numeric: "248", alpha2: "AX", alpha3: "ALA", calling: "+358", currency: "FIM", continent: "EU", fractionDigits: 2),
[5/5] Compiling IsoCountryCodes IsoCountryCodes.swift
Build complete! (4.67s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "IsoCountryCodes",
"name" : "IsoCountryCodes",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "IsoCountryCodes",
"targets" : [
"IsoCountryCodes"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "IsoCountryCodesTests",
"module_type" : "SwiftTarget",
"name" : "IsoCountryCodesTests",
"path" : "Tests",
"sources" : [
"IsoCountryCodesTests.swift"
],
"target_dependencies" : [
"IsoCountryCodes"
],
"type" : "test"
},
{
"c99name" : "IsoCountryCodes",
"module_type" : "SwiftTarget",
"name" : "IsoCountryCodes",
"path" : "Sources",
"product_memberships" : [
"IsoCountryCodes"
],
"sources" : [
"IsoCountries.swift",
"IsoCountryCodes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.