Build Information
Successful build of ShinySwiftUI, reference 1.2.0 (fc1f77
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 12:37:14 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/Flowductive/shiny-swift-ui.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Flowductive/shiny-swift-ui
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at fc1f779 Merge remote-tracking branch 'refs/remotes/origin/main'
Cloned https://github.com/Flowductive/shiny-swift-ui.git
Revision (git rev-parse @):
fc1f779fc1bfc0701d0d22cd11ef91e0c15a7f92
SUCCESS checkout https://github.com/Flowductive/shiny-swift-ui.git at 1.2.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": "shiny-swift-ui",
"name": "ShinySwiftUI",
"url": "https://github.com/Flowductive/shiny-swift-ui.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/shiny-swift-ui",
"dependencies": [
]
}
]
}
Fetching https://github.com/Flowductive/shiny-swift-ui.git
[1/800] Fetching shiny-swift-ui
Fetched https://github.com/Flowductive/shiny-swift-ui.git from cache (1.34s)
Creating working copy for https://github.com/Flowductive/shiny-swift-ui.git
Working copy of https://github.com/Flowductive/shiny-swift-ui.git resolved at 1.2.0 (fc1f779)
warning: '.resolve-product-dependencies': dependency 'shiny-swift-ui' 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/Flowductive/shiny-swift-ui.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/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 nonisolated 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 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
46 | static func reduce(value: inout Value, nextValue: () -> Value) {
47 | value += nextValue()
[4/30] Compiling ShinySwiftUI ShoveView.swift
[5/30] Compiling ShinySwiftUI VisualEffectView.swift
[6/30] Compiling ShinySwiftUI Color.swift
[7/30] Compiling ShinySwiftUI Divider.swift
[8/30] Compiling ShinySwiftUI Image.swift
[9/30] Compiling ShinySwiftUI ShinySwiftUI.swift
[10/30] Compiling ShinySwiftUI EnumPicker.swift
[11/30] Compiling ShinySwiftUI View+Button.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Highlight.swift:63:7: warning: capture of 'lhs' with non-sendable type 'Binding<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | fileprivate func == <T>(lhs: Binding<T>, rhs: T) -> Binding<Bool> where T: Equatable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | Binding(
62 | get: {
63 | lhs.wrappedValue == rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | },
65 | set: {
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Highlight.swift:63:27: warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | fileprivate func == <T>(lhs: Binding<T>, rhs: T) -> Binding<Bool> where T: Equatable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | Binding(
62 | get: {
63 | lhs.wrappedValue == rhs
| `- warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | },
65 | set: {
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Highlight.swift:67:9: warning: capture of 'lhs' with non-sendable type 'Binding<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | fileprivate func == <T>(lhs: Binding<T>, rhs: T) -> Binding<Bool> where T: Equatable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | Binding(
62 | get: {
:
65 | set: {
66 | if $0 {
67 | lhs.wrappedValue = rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Highlight.swift:67:28: warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | fileprivate func == <T>(lhs: Binding<T>, rhs: T) -> Binding<Bool> where T: Equatable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | Binding(
62 | get: {
:
65 | set: {
66 | if $0 {
67 | lhs.wrappedValue = rhs
| `- warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 | }
69 | }
[12/30] Compiling ShinySwiftUI View+Highlight.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Highlight.swift:63:7: warning: capture of 'lhs' with non-sendable type 'Binding<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | fileprivate func == <T>(lhs: Binding<T>, rhs: T) -> Binding<Bool> where T: Equatable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | Binding(
62 | get: {
63 | lhs.wrappedValue == rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | },
65 | set: {
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Highlight.swift:63:27: warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | fileprivate func == <T>(lhs: Binding<T>, rhs: T) -> Binding<Bool> where T: Equatable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | Binding(
62 | get: {
63 | lhs.wrappedValue == rhs
| `- warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | },
65 | set: {
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Highlight.swift:67:9: warning: capture of 'lhs' with non-sendable type 'Binding<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | fileprivate func == <T>(lhs: Binding<T>, rhs: T) -> Binding<Bool> where T: Equatable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | Binding(
62 | get: {
:
65 | set: {
66 | if $0 {
67 | lhs.wrappedValue = rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Highlight.swift:67:28: warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | fileprivate func == <T>(lhs: Binding<T>, rhs: T) -> Binding<Bool> where T: Equatable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | Binding(
62 | get: {
:
65 | set: {
66 | if $0 {
67 | lhs.wrappedValue = rhs
| `- warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 | }
69 | }
[13/30] Compiling ShinySwiftUI View+Mouse.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Highlight.swift:63:7: warning: capture of 'lhs' with non-sendable type 'Binding<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | fileprivate func == <T>(lhs: Binding<T>, rhs: T) -> Binding<Bool> where T: Equatable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | Binding(
62 | get: {
63 | lhs.wrappedValue == rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | },
65 | set: {
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Highlight.swift:63:27: warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | fileprivate func == <T>(lhs: Binding<T>, rhs: T) -> Binding<Bool> where T: Equatable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | Binding(
62 | get: {
63 | lhs.wrappedValue == rhs
| `- warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | },
65 | set: {
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Highlight.swift:67:9: warning: capture of 'lhs' with non-sendable type 'Binding<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | fileprivate func == <T>(lhs: Binding<T>, rhs: T) -> Binding<Bool> where T: Equatable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | Binding(
62 | get: {
:
65 | set: {
66 | if $0 {
67 | lhs.wrappedValue = rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Highlight.swift:67:28: warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 |
60 | fileprivate func == <T>(lhs: Binding<T>, rhs: T) -> Binding<Bool> where T: Equatable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
61 | Binding(
62 | get: {
:
65 | set: {
66 | if $0 {
67 | lhs.wrappedValue = rhs
| `- warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 | }
69 | }
[14/30] Compiling ShinySwiftUI UIDevice.swift
[15/30] Compiling ShinySwiftUI Line.swift
[16/30] Compiling ShinySwiftUI Wedge.swift
[17/30] Compiling ShinySwiftUI AnyTransition.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:16:36: warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// An animation that turns the view from the bottom.
15 | static var turnFromBottom: AnyTransition {
16 | AnyTransition.modifier(active: TurnedViewModifier(.down, turn: true), identity: TurnedViewModifier(.down, turn: false))
| `- warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
:
108 | var turn: Bool
109 |
110 | init(_ direction: Direction, turn: Bool) {
| `- note: calls to initializer 'init(_:turn:)' from outside of its actor context are implicitly asynchronous
111 | self.direction = direction
112 | self.turn = turn
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:16:85: warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// An animation that turns the view from the bottom.
15 | static var turnFromBottom: AnyTransition {
16 | AnyTransition.modifier(active: TurnedViewModifier(.down, turn: true), identity: TurnedViewModifier(.down, turn: false))
| `- warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
:
108 | var turn: Bool
109 |
110 | init(_ direction: Direction, turn: Bool) {
| `- note: calls to initializer 'init(_:turn:)' from outside of its actor context are implicitly asynchronous
111 | self.direction = direction
112 | self.turn = turn
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:21:36: warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | /// An animation that turns the view from the top.
20 | static var turnFromTop: AnyTransition {
21 | AnyTransition.modifier(active: TurnedViewModifier(.up, turn: true), identity: TurnedViewModifier(.up, turn: false))
| `- warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
:
108 | var turn: Bool
109 |
110 | init(_ direction: Direction, turn: Bool) {
| `- note: calls to initializer 'init(_:turn:)' from outside of its actor context are implicitly asynchronous
111 | self.direction = direction
112 | self.turn = turn
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:21:83: warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | /// An animation that turns the view from the top.
20 | static var turnFromTop: AnyTransition {
21 | AnyTransition.modifier(active: TurnedViewModifier(.up, turn: true), identity: TurnedViewModifier(.up, turn: false))
| `- warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
:
108 | var turn: Bool
109 |
110 | init(_ direction: Direction, turn: Bool) {
| `- note: calls to initializer 'init(_:turn:)' from outside of its actor context are implicitly asynchronous
111 | self.direction = direction
112 | self.turn = turn
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:31:36: warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | /// A left swipe transition.
30 | static var swipeLeft: AnyTransition {
31 | AnyTransition.modifier(active: SwipeViewModifier(.left, active: true), identity: SwipeViewModifier(.left, active: false))
| `- warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 |
:
86 | var active: Bool
87 |
88 | init(_ direction: Direction, active: Bool) {
| `- note: calls to initializer 'init(_:active:)' from outside of its actor context are implicitly asynchronous
89 | self.direction = direction
90 | self.active = active
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:31:86: warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | /// A left swipe transition.
30 | static var swipeLeft: AnyTransition {
31 | AnyTransition.modifier(active: SwipeViewModifier(.left, active: true), identity: SwipeViewModifier(.left, active: false))
| `- warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 |
:
86 | var active: Bool
87 |
88 | init(_ direction: Direction, active: Bool) {
| `- note: calls to initializer 'init(_:active:)' from outside of its actor context are implicitly asynchronous
89 | self.direction = direction
90 | self.active = active
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:36:36: warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | /// A right swipe transition.
35 | static var swipeRight: AnyTransition {
36 | AnyTransition.modifier(active: SwipeViewModifier(.right, active: true), identity: SwipeViewModifier(.right, active: false))
| `- warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | }
38 |
:
86 | var active: Bool
87 |
88 | init(_ direction: Direction, active: Bool) {
| `- note: calls to initializer 'init(_:active:)' from outside of its actor context are implicitly asynchronous
89 | self.direction = direction
90 | self.active = active
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:36:87: warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | /// A right swipe transition.
35 | static var swipeRight: AnyTransition {
36 | AnyTransition.modifier(active: SwipeViewModifier(.right, active: true), identity: SwipeViewModifier(.right, active: false))
| `- warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | }
38 |
:
86 | var active: Bool
87 |
88 | init(_ direction: Direction, active: Bool) {
| `- note: calls to initializer 'init(_:active:)' from outside of its actor context are implicitly asynchronous
89 | self.direction = direction
90 | self.active = active
[18/30] Compiling ShinySwiftUI Color+Codable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:16:36: warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// An animation that turns the view from the bottom.
15 | static var turnFromBottom: AnyTransition {
16 | AnyTransition.modifier(active: TurnedViewModifier(.down, turn: true), identity: TurnedViewModifier(.down, turn: false))
| `- warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
:
108 | var turn: Bool
109 |
110 | init(_ direction: Direction, turn: Bool) {
| `- note: calls to initializer 'init(_:turn:)' from outside of its actor context are implicitly asynchronous
111 | self.direction = direction
112 | self.turn = turn
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:16:85: warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// An animation that turns the view from the bottom.
15 | static var turnFromBottom: AnyTransition {
16 | AnyTransition.modifier(active: TurnedViewModifier(.down, turn: true), identity: TurnedViewModifier(.down, turn: false))
| `- warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
:
108 | var turn: Bool
109 |
110 | init(_ direction: Direction, turn: Bool) {
| `- note: calls to initializer 'init(_:turn:)' from outside of its actor context are implicitly asynchronous
111 | self.direction = direction
112 | self.turn = turn
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:21:36: warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | /// An animation that turns the view from the top.
20 | static var turnFromTop: AnyTransition {
21 | AnyTransition.modifier(active: TurnedViewModifier(.up, turn: true), identity: TurnedViewModifier(.up, turn: false))
| `- warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
:
108 | var turn: Bool
109 |
110 | init(_ direction: Direction, turn: Bool) {
| `- note: calls to initializer 'init(_:turn:)' from outside of its actor context are implicitly asynchronous
111 | self.direction = direction
112 | self.turn = turn
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:21:83: warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | /// An animation that turns the view from the top.
20 | static var turnFromTop: AnyTransition {
21 | AnyTransition.modifier(active: TurnedViewModifier(.up, turn: true), identity: TurnedViewModifier(.up, turn: false))
| `- warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
:
108 | var turn: Bool
109 |
110 | init(_ direction: Direction, turn: Bool) {
| `- note: calls to initializer 'init(_:turn:)' from outside of its actor context are implicitly asynchronous
111 | self.direction = direction
112 | self.turn = turn
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:31:36: warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | /// A left swipe transition.
30 | static var swipeLeft: AnyTransition {
31 | AnyTransition.modifier(active: SwipeViewModifier(.left, active: true), identity: SwipeViewModifier(.left, active: false))
| `- warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 |
:
86 | var active: Bool
87 |
88 | init(_ direction: Direction, active: Bool) {
| `- note: calls to initializer 'init(_:active:)' from outside of its actor context are implicitly asynchronous
89 | self.direction = direction
90 | self.active = active
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:31:86: warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | /// A left swipe transition.
30 | static var swipeLeft: AnyTransition {
31 | AnyTransition.modifier(active: SwipeViewModifier(.left, active: true), identity: SwipeViewModifier(.left, active: false))
| `- warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 |
:
86 | var active: Bool
87 |
88 | init(_ direction: Direction, active: Bool) {
| `- note: calls to initializer 'init(_:active:)' from outside of its actor context are implicitly asynchronous
89 | self.direction = direction
90 | self.active = active
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:36:36: warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | /// A right swipe transition.
35 | static var swipeRight: AnyTransition {
36 | AnyTransition.modifier(active: SwipeViewModifier(.right, active: true), identity: SwipeViewModifier(.right, active: false))
| `- warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | }
38 |
:
86 | var active: Bool
87 |
88 | init(_ direction: Direction, active: Bool) {
| `- note: calls to initializer 'init(_:active:)' from outside of its actor context are implicitly asynchronous
89 | self.direction = direction
90 | self.active = active
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:36:87: warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | /// A right swipe transition.
35 | static var swipeRight: AnyTransition {
36 | AnyTransition.modifier(active: SwipeViewModifier(.right, active: true), identity: SwipeViewModifier(.right, active: false))
| `- warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | }
38 |
:
86 | var active: Bool
87 |
88 | init(_ direction: Direction, active: Bool) {
| `- note: calls to initializer 'init(_:active:)' from outside of its actor context are implicitly asynchronous
89 | self.direction = direction
90 | self.active = active
[19/30] Compiling ShinySwiftUI Color+Effects.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:16:36: warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// An animation that turns the view from the bottom.
15 | static var turnFromBottom: AnyTransition {
16 | AnyTransition.modifier(active: TurnedViewModifier(.down, turn: true), identity: TurnedViewModifier(.down, turn: false))
| `- warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
:
108 | var turn: Bool
109 |
110 | init(_ direction: Direction, turn: Bool) {
| `- note: calls to initializer 'init(_:turn:)' from outside of its actor context are implicitly asynchronous
111 | self.direction = direction
112 | self.turn = turn
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:16:85: warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// An animation that turns the view from the bottom.
15 | static var turnFromBottom: AnyTransition {
16 | AnyTransition.modifier(active: TurnedViewModifier(.down, turn: true), identity: TurnedViewModifier(.down, turn: false))
| `- warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
:
108 | var turn: Bool
109 |
110 | init(_ direction: Direction, turn: Bool) {
| `- note: calls to initializer 'init(_:turn:)' from outside of its actor context are implicitly asynchronous
111 | self.direction = direction
112 | self.turn = turn
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:21:36: warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | /// An animation that turns the view from the top.
20 | static var turnFromTop: AnyTransition {
21 | AnyTransition.modifier(active: TurnedViewModifier(.up, turn: true), identity: TurnedViewModifier(.up, turn: false))
| `- warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
:
108 | var turn: Bool
109 |
110 | init(_ direction: Direction, turn: Bool) {
| `- note: calls to initializer 'init(_:turn:)' from outside of its actor context are implicitly asynchronous
111 | self.direction = direction
112 | self.turn = turn
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:21:83: warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | /// An animation that turns the view from the top.
20 | static var turnFromTop: AnyTransition {
21 | AnyTransition.modifier(active: TurnedViewModifier(.up, turn: true), identity: TurnedViewModifier(.up, turn: false))
| `- warning: call to main actor-isolated initializer 'init(_:turn:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
:
108 | var turn: Bool
109 |
110 | init(_ direction: Direction, turn: Bool) {
| `- note: calls to initializer 'init(_:turn:)' from outside of its actor context are implicitly asynchronous
111 | self.direction = direction
112 | self.turn = turn
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:31:36: warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | /// A left swipe transition.
30 | static var swipeLeft: AnyTransition {
31 | AnyTransition.modifier(active: SwipeViewModifier(.left, active: true), identity: SwipeViewModifier(.left, active: false))
| `- warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 |
:
86 | var active: Bool
87 |
88 | init(_ direction: Direction, active: Bool) {
| `- note: calls to initializer 'init(_:active:)' from outside of its actor context are implicitly asynchronous
89 | self.direction = direction
90 | self.active = active
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:31:86: warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | /// A left swipe transition.
30 | static var swipeLeft: AnyTransition {
31 | AnyTransition.modifier(active: SwipeViewModifier(.left, active: true), identity: SwipeViewModifier(.left, active: false))
| `- warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 |
:
86 | var active: Bool
87 |
88 | init(_ direction: Direction, active: Bool) {
| `- note: calls to initializer 'init(_:active:)' from outside of its actor context are implicitly asynchronous
89 | self.direction = direction
90 | self.active = active
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:36:36: warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | /// A right swipe transition.
35 | static var swipeRight: AnyTransition {
36 | AnyTransition.modifier(active: SwipeViewModifier(.right, active: true), identity: SwipeViewModifier(.right, active: false))
| `- warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | }
38 |
:
86 | var active: Bool
87 |
88 | init(_ direction: Direction, active: Bool) {
| `- note: calls to initializer 'init(_:active:)' from outside of its actor context are implicitly asynchronous
89 | self.direction = direction
90 | self.active = active
/Users/admin/builder/spi-builder-workspace/Sources/ShinySwiftUI/Extensions/SwiftUI/AnyTransition.swift:36:87: warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | /// A right swipe transition.
35 | static var swipeRight: AnyTransition {
36 | AnyTransition.modifier(active: SwipeViewModifier(.right, active: true), identity: SwipeViewModifier(.right, active: false))
| `- warning: call to main actor-isolated initializer 'init(_:active:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | }
38 |
:
86 | var active: Bool
87 |
88 | init(_ direction: Direction, active: Bool) {
| `- note: calls to initializer 'init(_:active:)' from outside of its actor context are implicitly asynchronous
89 | self.direction = direction
90 | self.active = active
[20/30] Compiling ShinySwiftUI _OpacityLevel.swift
[21/30] Compiling ShinySwiftUI _SlickAnimationStyle.swift
[22/30] Compiling ShinySwiftUI Animation.swift
[23/30] Compiling ShinySwiftUI GStack.swift
[24/30] Compiling ShinySwiftUI HoverView.swift
[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 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 nonisolated 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 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
46 | static func reduce(value: inout Value, nextValue: () -> Value) {
47 | value += nextValue()
[29/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 nonisolated 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 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
46 | static func reduce(value: inout Value, nextValue: () -> Value) {
47 | value += nextValue()
[30/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 nonisolated 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 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
46 | static func reduce(value: inout Value, nextValue: () -> Value) {
47 | value += nextValue()
Build complete! (34.24s)
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.