Build Information
Successful build of ShinySwiftUI with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Flowductive/shiny-swift-ui.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Flowductive/shiny-swift-ui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6429f1c 🔨 Fix transitions
Cloned https://github.com/Flowductive/shiny-swift-ui.git
Revision (git rev-parse @):
6429f1c980ced42e161a5d16a8b0131b2e051ee8
SUCCESS checkout https://github.com/Flowductive/shiny-swift-ui.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/Flowductive/shiny-swift-ui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/28] Emitting module ShinySwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/ScrollView.swift:45:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
43 | fileprivate struct ViewOffsetKey: PreferenceKey {
44 | typealias Value = CGFloat
45 | static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
46 | static func reduce(value: inout Value, nextValue: () -> Value) {
47 | value += nextValue()
[4/30] Compiling ShinySwiftUI Color.swift
[5/30] Compiling ShinySwiftUI Divider.swift
[6/30] Compiling ShinySwiftUI Image.swift
[7/30] Compiling ShinySwiftUI UIDevice.swift
[8/30] Compiling ShinySwiftUI Line.swift
[9/30] Compiling ShinySwiftUI Wedge.swift
[10/30] Compiling ShinySwiftUI _OpacityLevel.swift
[11/30] Compiling ShinySwiftUI _SlickAnimationStyle.swift
[12/30] Compiling ShinySwiftUI Animation.swift
[13/30] Compiling ShinySwiftUI GStack.swift
[14/30] Compiling ShinySwiftUI HoverView.swift
[15/30] Compiling ShinySwiftUI ShoveView.swift
[16/30] Compiling ShinySwiftUI VisualEffectView.swift
[17/30] Compiling ShinySwiftUI AnyTransition.swift
[18/30] Compiling ShinySwiftUI Color+Codable.swift
[19/30] Compiling ShinySwiftUI Color+Effects.swift
[20/30] Compiling ShinySwiftUI ShinySwiftUI.swift
[21/30] Compiling ShinySwiftUI EnumPicker.swift
[22/30] Compiling ShinySwiftUI ScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/ScrollView.swift:45:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
43 | fileprivate struct ViewOffsetKey: PreferenceKey {
44 | typealias Value = CGFloat
45 | static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
46 | static func reduce(value: inout Value, nextValue: () -> Value) {
47 | value += nextValue()
[23/30] Compiling ShinySwiftUI Spacer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/ScrollView.swift:45:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
43 | fileprivate struct ViewOffsetKey: PreferenceKey {
44 | typealias Value = CGFloat
45 | static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
46 | static func reduce(value: inout Value, nextValue: () -> Value) {
47 | value += nextValue()
[24/30] Compiling ShinySwiftUI Text.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/ScrollView.swift:45:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
43 | fileprivate struct ViewOffsetKey: PreferenceKey {
44 | typealias Value = CGFloat
45 | static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
46 | static func reduce(value: inout Value, nextValue: () -> Value) {
47 | value += nextValue()
[25/30] Compiling ShinySwiftUI View+Tooltip.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View.swift:329:75: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
325 | - parameter action: The action to perform.
326 | */
327 | func after(_ interval: TimeInterval, perform action: @escaping () -> Void) -> some View {
| `- note: parameter 'action' is implicitly non-sendable
328 | self.onAppear {
329 | DispatchQueue.main.asyncAfter(deadline: .now() + interval, execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
330 | }
331 | }
[26/30] Compiling ShinySwiftUI View.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View.swift:329:75: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
325 | - parameter action: The action to perform.
326 | */
327 | func after(_ interval: TimeInterval, perform action: @escaping () -> Void) -> some View {
| `- note: parameter 'action' is implicitly non-sendable
328 | self.onAppear {
329 | DispatchQueue.main.asyncAfter(deadline: .now() + interval, execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
330 | }
331 | }
[27/30] Compiling ShinySwiftUI CGFloat.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View.swift:329:75: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
325 | - parameter action: The action to perform.
326 | */
327 | func after(_ interval: TimeInterval, perform action: @escaping () -> Void) -> some View {
| `- note: parameter 'action' is implicitly non-sendable
328 | self.onAppear {
329 | DispatchQueue.main.asyncAfter(deadline: .now() + interval, execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
330 | }
331 | }
[28/30] Compiling ShinySwiftUI View+Button.swift
[29/30] Compiling ShinySwiftUI View+Highlight.swift
[30/30] Compiling ShinySwiftUI View+Mouse.swift
Build complete! (44.38s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ShinySwiftUI",
"name" : "ShinySwiftUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "ShinySwiftUI",
"targets" : [
"ShinySwiftUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ShinySwiftUITests",
"module_type" : "SwiftTarget",
"name" : "ShinySwiftUITests",
"path" : "Tests/ShinySwiftUITests",
"sources" : [
"ShinySwiftUITests.swift"
],
"target_dependencies" : [
"ShinySwiftUI"
],
"type" : "test"
},
{
"c99name" : "ShinySwiftUI",
"module_type" : "SwiftTarget",
"name" : "ShinySwiftUI",
"path" : "Sources/ShinySwiftUI",
"product_memberships" : [
"ShinySwiftUI"
],
"sources" : [
"Enumerations/_OpacityLevel.swift",
"Enumerations/_SlickAnimationStyle.swift",
"Extensions/SwiftUI/Animation.swift",
"Extensions/SwiftUI/AnyTransition.swift",
"Extensions/SwiftUI/Color/Color+Codable.swift",
"Extensions/SwiftUI/Color/Color+Effects.swift",
"Extensions/SwiftUI/Color/Color.swift",
"Extensions/SwiftUI/Divider.swift",
"Extensions/SwiftUI/Image.swift",
"Extensions/SwiftUI/ScrollView.swift",
"Extensions/SwiftUI/Spacer.swift",
"Extensions/SwiftUI/Text.swift",
"Extensions/SwiftUI/View/View+Button.swift",
"Extensions/SwiftUI/View/View+Highlight.swift",
"Extensions/SwiftUI/View/View+Mouse.swift",
"Extensions/SwiftUI/View/View+Tooltip.swift",
"Extensions/SwiftUI/View/View.swift",
"Extensions/UIKit/CGFloat.swift",
"Extensions/UIKit/UIDevice.swift",
"Shapes/Line.swift",
"Shapes/Wedge.swift",
"ShinySwiftUI.swift",
"Views/EnumPicker.swift",
"Views/GStack.swift",
"Views/HoverView.swift",
"Views/ShoveView.swift",
"Views/VisualEffectView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.