Build Information
Successful build of swiftui-pick-better, reference 3.0.0 (4af002
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 18:34:00 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/MFB-Technologies-Inc/swiftui-pick-better.git
Reference: 3.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MFB-Technologies-Inc/swiftui-pick-better
* tag 3.0.0 -> FETCH_HEAD
HEAD is now at 4af0029 Merge pull request #8 from MFB-Technologies-Inc/add-mainactor-and-viewbuilder-where-needed
Cloned https://github.com/MFB-Technologies-Inc/swiftui-pick-better.git
Revision (git rev-parse @):
4af0029df63f59bf9f215fa08ff2a464f9601bb6
SUCCESS checkout https://github.com/MFB-Technologies-Inc/swiftui-pick-better.git at 3.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": "swiftui-pick-better",
"name": "swiftui-pick-better",
"url": "https://github.com/MFB-Technologies-Inc/swiftui-pick-better.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-pick-better",
"dependencies": [
]
}
]
}
Fetching https://github.com/MFB-Technologies-Inc/swiftui-pick-better.git
[1/321] Fetching swiftui-pick-better
Fetched https://github.com/MFB-Technologies-Inc/swiftui-pick-better.git from cache (0.74s)
Creating working copy for https://github.com/MFB-Technologies-Inc/swiftui-pick-better.git
Working copy of https://github.com/MFB-Technologies-Inc/swiftui-pick-better.git resolved at 3.0.0 (4af0029)
warning: '.resolve-product-dependencies': dependency 'swiftui-pick-better' 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/MFB-Technologies-Inc/swiftui-pick-better.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/11] Compiling PickBetter CellWrapper.swift
[4/11] Compiling PickBetter PlainInlineBetterPickerStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/PickBetter/PlainInlineBetterPickerStyle.swift:43:17: warning: var 'items' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | private var items: [PreviewItem] = ["A", "B", "C"].map { PreviewItem(id: $0) }
| |- warning: var '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
44 |
45 | private func itemContent(_ item: PreviewItem) -> some View {
[5/11] Compiling PickBetter BetterPickerStyleConfiguration.swift
[6/11] Compiling PickBetter BetterPickerStyleCellConfiguration.swift
[7/11] Emitting module PickBetter
/Users/admin/builder/spi-builder-workspace/Sources/PickBetter/PlainInlineBetterPickerStyle.swift:43:17: warning: var 'items' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | private var items: [PreviewItem] = ["A", "B", "C"].map { PreviewItem(id: $0) }
| |- warning: var '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
44 |
45 | private func itemContent(_ item: PreviewItem) -> some View {
[8/11] Compiling PickBetter BetterPickerSelection.swift
[9/11] Compiling PickBetter BetterPicker.swift
[10/11] Compiling PickBetter BetterPickerStyle.swift
[11/11] Compiling PickBetter StyleBuilder.swift
Build complete! (25.44s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swiftui-pick-better",
"name" : "swiftui-pick-better",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "PickBetter",
"targets" : [
"PickBetter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PickBetter",
"module_type" : "SwiftTarget",
"name" : "PickBetter",
"path" : "Sources/PickBetter",
"product_memberships" : [
"PickBetter"
],
"sources" : [
"BetterPicker.swift",
"BetterPickerSelection.swift",
"BetterPickerStyle.swift",
"BetterPickerStyleCellConfiguration.swift",
"BetterPickerStyleConfiguration.swift",
"Internal/CellWrapper.swift",
"PlainInlineBetterPickerStyle.swift",
"StyleBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.