Build Information
Successful build of SwiftUICharts, reference 1.0.1 (1d0680
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 19:37:05 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/otaviokz/SwiftUICharts.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/otaviokz/SwiftUICharts
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 1d06801 Merge pull request #21 from otaviokz/min-onchart-percent
Cloned https://github.com/otaviokz/SwiftUICharts.git
Revision (git rev-parse @):
1d06801097b84c57ebca4fd3076ea6aa7fdeb538
SUCCESS checkout https://github.com/otaviokz/SwiftUICharts.git at 1.0.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": "swiftuicharts",
"name": "SwiftUICharts",
"url": "https://github.com/otaviokz/SwiftUICharts.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUICharts",
"dependencies": [
]
}
]
}
Fetching https://github.com/otaviokz/SwiftUICharts.git
[1/619] Fetching swiftuicharts
Fetched https://github.com/otaviokz/SwiftUICharts.git from cache (1.15s)
Creating working copy for https://github.com/otaviokz/SwiftUICharts.git
Working copy of https://github.com/otaviokz/SwiftUICharts.git resolved at 1.0.1 (1d06801)
warning: '.resolve-product-dependencies': dependency 'swiftuicharts' 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/otaviokz/SwiftUICharts.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/25] Emitting module SwiftUICharts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Style/SCPalletes.swift:20:24: warning: static property 'donutColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private extension SCPalletes.Graph {
20 | private static var donutColors = [Color](hex: "4770b3", "e4b031", "26727b", "50aed3", "04cc82", "9e9ea2")
| |- warning: static property 'donutColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'donutColors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'donutColors' 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
21 | private static var pieColors = [Color](hex: "003f5c", "58508d", "bc5090", "ff6361", "ffa600")
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Style/SCPalletes.swift:21:24: warning: static property 'pieColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private extension SCPalletes.Graph {
20 | private static var donutColors = [Color](hex: "4770b3", "e4b031", "26727b", "50aed3", "04cc82", "9e9ea2")
21 | private static var pieColors = [Color](hex: "003f5c", "58508d", "bc5090", "ff6361", "ffa600")
| |- warning: static property 'pieColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pieColors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pieColors' 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
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Utils/View+ReadValues.swift:35:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | private struct HeightKey: PreferenceKey {
35 | static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
36 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) { value = nextValue() }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Utils/View+ReadValues.swift:40:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | private struct WidthKey: PreferenceKey {
40 | static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
41 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) { value = nextValue() }
42 | }
[4/27] Compiling SwiftUICharts SCCaptionsView.swift
[5/27] Compiling SwiftUICharts SCChartWrapperView.swift
[6/27] Compiling SwiftUICharts String+ObjectIdentifier.swift
[7/27] Compiling SwiftUICharts View+Environment.swift
[8/27] Compiling SwiftUICharts SCCircleChartPart.swift
[9/27] Compiling SwiftUICharts SCDataPointProtocol.swift
[10/27] Compiling SwiftUICharts SCDataPoint.swift
[11/27] Compiling SwiftUICharts View+ReadValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Utils/View+ReadValues.swift:35:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | private struct HeightKey: PreferenceKey {
35 | static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
36 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) { value = nextValue() }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Utils/View+ReadValues.swift:40:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | private struct WidthKey: PreferenceKey {
40 | static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
41 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) { value = nextValue() }
42 | }
[12/27] Compiling SwiftUICharts View+Shortcuts.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Utils/View+ReadValues.swift:35:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | private struct HeightKey: PreferenceKey {
35 | static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
36 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) { value = nextValue() }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Utils/View+ReadValues.swift:40:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | private struct WidthKey: PreferenceKey {
40 | static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
41 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) { value = nextValue() }
42 | }
[13/27] Compiling SwiftUICharts SCPiePartView.swift
[14/27] Compiling SwiftUICharts SCPieView.swift
[15/27] Compiling SwiftUICharts SCDonutView.swift
[16/27] Compiling SwiftUICharts SCPieChartView.swift
[17/27] Compiling SwiftUICharts SCPalletes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Style/SCPalletes.swift:20:24: warning: static property 'donutColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private extension SCPalletes.Graph {
20 | private static var donutColors = [Color](hex: "4770b3", "e4b031", "26727b", "50aed3", "04cc82", "9e9ea2")
| |- warning: static property 'donutColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'donutColors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'donutColors' 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
21 | private static var pieColors = [Color](hex: "003f5c", "58508d", "bc5090", "ff6361", "ffa600")
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Style/SCPalletes.swift:21:24: warning: static property 'pieColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private extension SCPalletes.Graph {
20 | private static var donutColors = [Color](hex: "4770b3", "e4b031", "26727b", "50aed3", "04cc82", "9e9ea2")
21 | private static var pieColors = [Color](hex: "003f5c", "58508d", "bc5090", "ff6361", "ffa600")
| |- warning: static property 'pieColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pieColors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pieColors' 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
22 | }
23 |
[18/27] Compiling SwiftUICharts CGPoint+Shortcuts.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Style/SCPalletes.swift:20:24: warning: static property 'donutColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private extension SCPalletes.Graph {
20 | private static var donutColors = [Color](hex: "4770b3", "e4b031", "26727b", "50aed3", "04cc82", "9e9ea2")
| |- warning: static property 'donutColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'donutColors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'donutColors' 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
21 | private static var pieColors = [Color](hex: "003f5c", "58508d", "bc5090", "ff6361", "ffa600")
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Style/SCPalletes.swift:21:24: warning: static property 'pieColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private extension SCPalletes.Graph {
20 | private static var donutColors = [Color](hex: "4770b3", "e4b031", "26727b", "50aed3", "04cc82", "9e9ea2")
21 | private static var pieColors = [Color](hex: "003f5c", "58508d", "bc5090", "ff6361", "ffa600")
| |- warning: static property 'pieColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pieColors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pieColors' 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
22 | }
23 |
[19/27] Compiling SwiftUICharts Color+Hex.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Style/SCPalletes.swift:20:24: warning: static property 'donutColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private extension SCPalletes.Graph {
20 | private static var donutColors = [Color](hex: "4770b3", "e4b031", "26727b", "50aed3", "04cc82", "9e9ea2")
| |- warning: static property 'donutColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'donutColors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'donutColors' 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
21 | private static var pieColors = [Color](hex: "003f5c", "58508d", "bc5090", "ff6361", "ffa600")
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Style/SCPalletes.swift:21:24: warning: static property 'pieColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private extension SCPalletes.Graph {
20 | private static var donutColors = [Color](hex: "4770b3", "e4b031", "26727b", "50aed3", "04cc82", "9e9ea2")
21 | private static var pieColors = [Color](hex: "003f5c", "58508d", "bc5090", "ff6361", "ffa600")
| |- warning: static property 'pieColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pieColors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pieColors' 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
22 | }
23 |
[20/27] Compiling SwiftUICharts SCDonutPart.swift
[21/27] Compiling SwiftUICharts SCPiePart.swift
[22/27] Compiling SwiftUICharts NumberFormatter+Defaults.swift
[23/27] Compiling SwiftUICharts Font+Shortcuts.swift
[24/27] Compiling SwiftUICharts GeometryProxy+Shortcuts.swift
[25/27] Compiling SwiftUICharts Path+Shortcuts.swift
[26/27] Compiling SwiftUICharts SCDonutChartView.swift
[27/27] Compiling SwiftUICharts SCDonutPartView.swift
Build complete! (32.06s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftUICharts",
"name" : "SwiftUICharts",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftUICharts",
"targets" : [
"SwiftUICharts"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUIChartsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftUIChartsTests",
"path" : "Tests/SwiftUIChartsTests",
"sources" : [
"Model/SCDataPointTests.swift",
"Model/SCDonutPartTests.swift",
"Model/SCPiePartTests.swift",
"Utils/CGPoint+ShortcutsTests.swift",
"Utils/Color_HexTests.swift"
],
"target_dependencies" : [
"SwiftUICharts"
],
"type" : "test"
},
{
"c99name" : "SwiftUICharts",
"module_type" : "SwiftTarget",
"name" : "SwiftUICharts",
"path" : "Sources/SwiftUICharts",
"product_memberships" : [
"SwiftUICharts"
],
"sources" : [
"Model/Protocol/SCCircleChartPart.swift",
"Model/Protocol/SCDataPointProtocol.swift",
"Model/SCDataPoint.swift",
"Model/SCDonutPart.swift",
"Model/SCPiePart.swift",
"Style/NumberFormatter+Defaults.swift",
"Style/SCPalletes.swift",
"Utils/CGPoint+Shortcuts.swift",
"Utils/Color+Hex.swift",
"Utils/Font+Shortcuts.swift",
"Utils/GeometryProxy+Shortcuts.swift",
"Utils/Path+Shortcuts.swift",
"Utils/String+ObjectIdentifier.swift",
"Utils/View+Environment.swift",
"Utils/View+ReadValues.swift",
"Utils/View+Shortcuts.swift",
"View/DonutChart/SCDonutChartView.swift",
"View/DonutChart/SCDonutPartView.swift",
"View/DonutChart/SCDonutView.swift",
"View/PieChart/SCPieChartView.swift",
"View/PieChart/SCPiePartView.swift",
"View/PieChart/SCPieView.swift",
"View/Shared/SCCaptionsView.swift",
"View/Shared/SCChartWrapperView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.