Build Information
Successful build of Carte, reference 2.2.1 (fb7d4f
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 10:21:20 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/devxoul/Carte.git
Reference: 2.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/devxoul/Carte
* tag 2.2.1 -> FETCH_HEAD
HEAD is now at fb7d4f8 Bump version to 2.2.1
Cloned https://github.com/devxoul/Carte.git
Revision (git rev-parse @):
fb7d4f845e09e1ee9d6c8b36b7411c31adbe635d
SUCCESS checkout https://github.com/devxoul/Carte.git at 2.2.1
========================================
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": "carte",
"name": "Carte",
"url": "https://github.com/devxoul/Carte.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Carte",
"dependencies": [
]
}
]
}
Fetching https://github.com/devxoul/Carte.git
[1/857] Fetching carte
Fetched https://github.com/devxoul/Carte.git from cache (0.97s)
Creating working copy for https://github.com/devxoul/Carte.git
Working copy of https://github.com/devxoul/Carte.git resolved at 2.2.1 (fb7d4f8)
warning: '.resolve-product-dependencies': dependency 'carte' 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/devxoul/Carte.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/6] Emitting module Carte
/Users/admin/builder/spi-builder-workspace/Sources/Carte/Carte.swift:11:21: warning: static property 'infoDictionary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public class Carte {
11 | public static var infoDictionary: [String: Any]? = Bundle.main.infoDictionary {
| |- warning: static property 'infoDictionary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'infoDictionary' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'infoDictionary' 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
12 | didSet {
13 | self._items = nil
/Users/admin/builder/spi-builder-workspace/Sources/Carte/Carte.swift:17:22: warning: static property '_items' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | private static var _items: [CarteItem]? = nil
| |- warning: static property '_items' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_items' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_items' 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 | public static var items: [CarteItem] {
19 | if let items = self._items {
[4/6] Compiling Carte Carte.swift
/Users/admin/builder/spi-builder-workspace/Sources/Carte/Carte.swift:11:21: warning: static property 'infoDictionary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public class Carte {
11 | public static var infoDictionary: [String: Any]? = Bundle.main.infoDictionary {
| |- warning: static property 'infoDictionary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'infoDictionary' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'infoDictionary' 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
12 | didSet {
13 | self._items = nil
/Users/admin/builder/spi-builder-workspace/Sources/Carte/Carte.swift:17:22: warning: static property '_items' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | private static var _items: [CarteItem]? = nil
| |- warning: static property '_items' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_items' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_items' 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 | public static var items: [CarteItem] {
19 | if let items = self._items {
[5/6] Compiling Carte CarteItem.swift
[6/6] Compiling Carte CarteViewController.swift
Build complete! (6.51s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Carte",
"name" : "Carte",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
}
],
"products" : [
{
"name" : "Carte",
"targets" : [
"Carte"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4.2",
"5"
],
"targets" : [
{
"c99name" : "CarteTests",
"module_type" : "SwiftTarget",
"name" : "CarteTests",
"path" : "Tests/CarteTests",
"sources" : [
"CarteTests.swift"
],
"target_dependencies" : [
"Carte"
],
"type" : "test"
},
{
"c99name" : "Carte",
"module_type" : "SwiftTarget",
"name" : "Carte",
"path" : "Sources/Carte",
"product_memberships" : [
"Carte"
],
"sources" : [
"Carte.swift",
"CarteItem.swift",
"CarteViewController.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.