Build Information
Successful build of RatingControl, reference 0.0.7 (2793a9
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 13:57:40 UTC.
Swift 6 data race errors: 0
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/edonv/RatingControl.git
Reference: 0.0.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/edonv/RatingControl
* tag 0.0.7 -> FETCH_HEAD
HEAD is now at 2793a96 Added empty privacy manifest
Cloned https://github.com/edonv/RatingControl.git
Revision (git rev-parse @):
2793a961e29bc18493354b0cf26e63e3685977b7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/RatingControl.git at 0.0.7
========================================
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": "ratingcontrol",
"name": "RatingControl",
"url": "https://github.com/edonv/RatingControl.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RatingControl",
"dependencies": [
]
}
]
}
Fetching https://github.com/edonv/RatingControl.git
[1/418] Fetching ratingcontrol
Fetched https://github.com/edonv/RatingControl.git from cache (0.80s)
Creating working copy for https://github.com/edonv/RatingControl.git
Working copy of https://github.com/edonv/RatingControl.git resolved at 0.0.7 (2793a96)
warning: '.resolve-product-dependencies': dependency 'ratingcontrol' 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/edonv/RatingControl.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/14] Compiling RatingControl Float+IsWholeNumber.swift
[4/15] Compiling RatingControl Clamping.swift
[5/15] Compiling RatingControl Shape+ScaleCGSizeModifier.swift
[6/15] Compiling RatingControl BackportViewModifiers.swift
[7/15] Compiling RatingControl BackportSymbolVariants.swift
[8/15] Compiling RatingControl InternalEnvironmentValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:85:18: warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 |
22 | @ViewBuilder
23 | internal func layoutIcons<EmptyIcon: View, FilledIcon: View>(
| `- note: add '@MainActor' to make instance method 'layoutIcons(ratingValue:iconNumber:axis:emptyIcon:filledIcon:)' part of global actor 'MainActor'
24 | ratingValue: Double,
25 | iconNumber: Double,
:
83 | }
84 | .opacity(showEmptyIcon ? 1 : 0)
85 | .overlayBackport {
| `- warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | Color.clear
87 | .overlayBackport {
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:25:10: note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
23 |
24 | @ViewBuilder
25 | func overlayBackport<V>(
| `- note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
26 | alignment: Alignment = .center,
27 | @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:80:18: warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 |
22 | @ViewBuilder
23 | internal func layoutIcons<EmptyIcon: View, FilledIcon: View>(
| `- note: add '@MainActor' to make instance method 'layoutIcons(ratingValue:iconNumber:axis:emptyIcon:filledIcon:)' part of global actor 'MainActor'
24 | ratingValue: Double,
25 | iconNumber: Double,
:
78 | .scale(emptyIconWholeNumberMaskScaleSize, anchor: startUnitPoint)
79 | }
80 | .maskBackport {
| `- warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | Rectangle()
82 | .scale(emptyMaskScaleSize, anchor: endUnitPoint)
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:37:10: note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ViewBuilder
37 | func maskBackport<Mask>(
| `- note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
38 | alignment: Alignment = .center,
39 | @ViewBuilder _ mask: () -> Mask
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:76:18: warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 |
22 | @ViewBuilder
23 | internal func layoutIcons<EmptyIcon: View, FilledIcon: View>(
| `- note: add '@MainActor' to make instance method 'layoutIcons(ratingValue:iconNumber:axis:emptyIcon:filledIcon:)' part of global actor 'MainActor'
24 | ratingValue: Double,
25 | iconNumber: Double,
:
74 | case .useEmptyIconSize:
75 | emptyIcon()
76 | .maskBackport {
| `- warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
77 | Rectangle()
78 | .scale(emptyIconWholeNumberMaskScaleSize, anchor: startUnitPoint)
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:37:10: note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ViewBuilder
37 | func maskBackport<Mask>(
| `- note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
38 | alignment: Alignment = .center,
39 | @ViewBuilder _ mask: () -> Mask
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:90:26: warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
88 | filledIcon()
89 | }
90 | .maskBackport {
| `- warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
91 | Rectangle()
92 | .scale(filledMaskScaleSize, anchor: startUnitPoint)
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:37:10: note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ViewBuilder
37 | func maskBackport<Mask>(
| `- note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
38 | alignment: Alignment = .center,
39 | @ViewBuilder _ mask: () -> Mask
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:87:26: warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | .overlayBackport {
86 | Color.clear
87 | .overlayBackport {
| `- warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
88 | filledIcon()
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:25:10: note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
23 |
24 | @ViewBuilder
25 | func overlayBackport<V>(
| `- note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
26 | alignment: Alignment = .center,
27 | @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:104:18: warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 |
22 | @ViewBuilder
23 | internal func layoutIcons<EmptyIcon: View, FilledIcon: View>(
| `- note: add '@MainActor' to make instance method 'layoutIcons(ratingValue:iconNumber:axis:emptyIcon:filledIcon:)' part of global actor 'MainActor'
24 | ratingValue: Double,
25 | iconNumber: Double,
:
102 | }
103 | .opacity(showFilledIcon ? 1 : 0)
104 | .overlayBackport {
| `- warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 | Color.clear
106 | .overlayBackport {
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:25:10: note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
23 |
24 | @ViewBuilder
25 | func overlayBackport<V>(
| `- note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
26 | alignment: Alignment = .center,
27 | @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:99:18: warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 |
22 | @ViewBuilder
23 | internal func layoutIcons<EmptyIcon: View, FilledIcon: View>(
| `- note: add '@MainActor' to make instance method 'layoutIcons(ratingValue:iconNumber:axis:emptyIcon:filledIcon:)' part of global actor 'MainActor'
24 | ratingValue: Double,
25 | iconNumber: Double,
:
97 | case .useFilledIconSize:
98 | filledIcon()
99 | .maskBackport {
| `- warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 | Rectangle()
101 | .scale(filledMaskScaleSize, anchor: startUnitPoint)
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:37:10: note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ViewBuilder
37 | func maskBackport<Mask>(
| `- note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
38 | alignment: Alignment = .center,
39 | @ViewBuilder _ mask: () -> Mask
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:113:26: warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | .scale(emptyIconWholeNumberMaskScaleSize, anchor: startUnitPoint)
112 | }
113 | .maskBackport {
| `- warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
114 | Rectangle()
115 | .scale(emptyMaskScaleSize, anchor: endUnitPoint)
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:37:10: note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ViewBuilder
37 | func maskBackport<Mask>(
| `- note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
38 | alignment: Alignment = .center,
39 | @ViewBuilder _ mask: () -> Mask
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:109:26: warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | emptyIcon()
108 | }
109 | .maskBackport {
| `- warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | Rectangle()
111 | .scale(emptyIconWholeNumberMaskScaleSize, anchor: startUnitPoint)
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:37:10: note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ViewBuilder
37 | func maskBackport<Mask>(
| `- note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
38 | alignment: Alignment = .center,
39 | @ViewBuilder _ mask: () -> Mask
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:106:26: warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
104 | .overlayBackport {
105 | Color.clear
106 | .overlayBackport {
| `- warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | emptyIcon()
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:25:10: note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
23 |
24 | @ViewBuilder
25 | func overlayBackport<V>(
| `- note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
26 | alignment: Alignment = .center,
27 | @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:85:18: warning: sending task-isolated value of type '() -> some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
83 | }
84 | .opacity(showEmptyIcon ? 1 : 0)
85 | .overlayBackport {
| `- warning: sending task-isolated value of type '() -> some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
86 | Color.clear
87 | .overlayBackport {
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:104:18: warning: sending task-isolated value of type '() -> some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
102 | }
103 | .opacity(showFilledIcon ? 1 : 0)
104 | .overlayBackport {
| `- warning: sending task-isolated value of type '() -> some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
105 | Color.clear
106 | .overlayBackport {
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:87:26: warning: sending task-isolated value of type '() -> FilledIcon' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
85 | .overlayBackport {
86 | Color.clear
87 | .overlayBackport {
| `- warning: sending task-isolated value of type '() -> FilledIcon' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
88 | filledIcon()
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:106:26: warning: sending task-isolated value of type '() -> EmptyIcon' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
104 | .overlayBackport {
105 | Color.clear
106 | .overlayBackport {
| `- warning: sending task-isolated value of type '() -> EmptyIcon' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
107 | emptyIcon()
108 | }
[9/15] Compiling RatingControl RatingControlIconFrameSizingMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:85:18: warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 |
22 | @ViewBuilder
23 | internal func layoutIcons<EmptyIcon: View, FilledIcon: View>(
| `- note: add '@MainActor' to make instance method 'layoutIcons(ratingValue:iconNumber:axis:emptyIcon:filledIcon:)' part of global actor 'MainActor'
24 | ratingValue: Double,
25 | iconNumber: Double,
:
83 | }
84 | .opacity(showEmptyIcon ? 1 : 0)
85 | .overlayBackport {
| `- warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | Color.clear
87 | .overlayBackport {
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:25:10: note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
23 |
24 | @ViewBuilder
25 | func overlayBackport<V>(
| `- note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
26 | alignment: Alignment = .center,
27 | @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:80:18: warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 |
22 | @ViewBuilder
23 | internal func layoutIcons<EmptyIcon: View, FilledIcon: View>(
| `- note: add '@MainActor' to make instance method 'layoutIcons(ratingValue:iconNumber:axis:emptyIcon:filledIcon:)' part of global actor 'MainActor'
24 | ratingValue: Double,
25 | iconNumber: Double,
:
78 | .scale(emptyIconWholeNumberMaskScaleSize, anchor: startUnitPoint)
79 | }
80 | .maskBackport {
| `- warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | Rectangle()
82 | .scale(emptyMaskScaleSize, anchor: endUnitPoint)
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:37:10: note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ViewBuilder
37 | func maskBackport<Mask>(
| `- note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
38 | alignment: Alignment = .center,
39 | @ViewBuilder _ mask: () -> Mask
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:76:18: warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 |
22 | @ViewBuilder
23 | internal func layoutIcons<EmptyIcon: View, FilledIcon: View>(
| `- note: add '@MainActor' to make instance method 'layoutIcons(ratingValue:iconNumber:axis:emptyIcon:filledIcon:)' part of global actor 'MainActor'
24 | ratingValue: Double,
25 | iconNumber: Double,
:
74 | case .useEmptyIconSize:
75 | emptyIcon()
76 | .maskBackport {
| `- warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
77 | Rectangle()
78 | .scale(emptyIconWholeNumberMaskScaleSize, anchor: startUnitPoint)
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:37:10: note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ViewBuilder
37 | func maskBackport<Mask>(
| `- note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
38 | alignment: Alignment = .center,
39 | @ViewBuilder _ mask: () -> Mask
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:90:26: warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
88 | filledIcon()
89 | }
90 | .maskBackport {
| `- warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
91 | Rectangle()
92 | .scale(filledMaskScaleSize, anchor: startUnitPoint)
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:37:10: note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ViewBuilder
37 | func maskBackport<Mask>(
| `- note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
38 | alignment: Alignment = .center,
39 | @ViewBuilder _ mask: () -> Mask
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:87:26: warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | .overlayBackport {
86 | Color.clear
87 | .overlayBackport {
| `- warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
88 | filledIcon()
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:25:10: note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
23 |
24 | @ViewBuilder
25 | func overlayBackport<V>(
| `- note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
26 | alignment: Alignment = .center,
27 | @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:104:18: warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 |
22 | @ViewBuilder
23 | internal func layoutIcons<EmptyIcon: View, FilledIcon: View>(
| `- note: add '@MainActor' to make instance method 'layoutIcons(ratingValue:iconNumber:axis:emptyIcon:filledIcon:)' part of global actor 'MainActor'
24 | ratingValue: Double,
25 | iconNumber: Double,
:
102 | }
103 | .opacity(showFilledIcon ? 1 : 0)
104 | .overlayBackport {
| `- warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 | Color.clear
106 | .overlayBackport {
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:25:10: note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
23 |
24 | @ViewBuilder
25 | func overlayBackport<V>(
| `- note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
26 | alignment: Alignment = .center,
27 | @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:99:18: warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 |
22 | @ViewBuilder
23 | internal func layoutIcons<EmptyIcon: View, FilledIcon: View>(
| `- note: add '@MainActor' to make instance method 'layoutIcons(ratingValue:iconNumber:axis:emptyIcon:filledIcon:)' part of global actor 'MainActor'
24 | ratingValue: Double,
25 | iconNumber: Double,
:
97 | case .useFilledIconSize:
98 | filledIcon()
99 | .maskBackport {
| `- warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 | Rectangle()
101 | .scale(filledMaskScaleSize, anchor: startUnitPoint)
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:37:10: note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ViewBuilder
37 | func maskBackport<Mask>(
| `- note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
38 | alignment: Alignment = .center,
39 | @ViewBuilder _ mask: () -> Mask
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:113:26: warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | .scale(emptyIconWholeNumberMaskScaleSize, anchor: startUnitPoint)
112 | }
113 | .maskBackport {
| `- warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
114 | Rectangle()
115 | .scale(emptyMaskScaleSize, anchor: endUnitPoint)
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:37:10: note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ViewBuilder
37 | func maskBackport<Mask>(
| `- note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
38 | alignment: Alignment = .center,
39 | @ViewBuilder _ mask: () -> Mask
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:109:26: warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | emptyIcon()
108 | }
109 | .maskBackport {
| `- warning: call to main actor-isolated instance method 'maskBackport(alignment:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | Rectangle()
111 | .scale(emptyIconWholeNumberMaskScaleSize, anchor: startUnitPoint)
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:37:10: note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ViewBuilder
37 | func maskBackport<Mask>(
| `- note: calls to instance method 'maskBackport(alignment:_:)' from outside of its actor context are implicitly asynchronous
38 | alignment: Alignment = .center,
39 | @ViewBuilder _ mask: () -> Mask
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:106:26: warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
104 | .overlayBackport {
105 | Color.clear
106 | .overlayBackport {
| `- warning: call to main actor-isolated instance method 'overlayBackport(alignment:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | emptyIcon()
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Supporting/BackportViewModifiers.swift:25:10: note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
23 |
24 | @ViewBuilder
25 | func overlayBackport<V>(
| `- note: calls to instance method 'overlayBackport(alignment:content:)' from outside of its actor context are implicitly asynchronous
26 | alignment: Alignment = .center,
27 | @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:85:18: warning: sending task-isolated value of type '() -> some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
83 | }
84 | .opacity(showEmptyIcon ? 1 : 0)
85 | .overlayBackport {
| `- warning: sending task-isolated value of type '() -> some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
86 | Color.clear
87 | .overlayBackport {
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:104:18: warning: sending task-isolated value of type '() -> some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
102 | }
103 | .opacity(showFilledIcon ? 1 : 0)
104 | .overlayBackport {
| `- warning: sending task-isolated value of type '() -> some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
105 | Color.clear
106 | .overlayBackport {
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:87:26: warning: sending task-isolated value of type '() -> FilledIcon' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
85 | .overlayBackport {
86 | Color.clear
87 | .overlayBackport {
| `- warning: sending task-isolated value of type '() -> FilledIcon' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
88 | filledIcon()
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/RatingControlIconFrameSizingMode.swift:106:26: warning: sending task-isolated value of type '() -> EmptyIcon' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
104 | .overlayBackport {
105 | Color.clear
106 | .overlayBackport {
| `- warning: sending task-isolated value of type '() -> EmptyIcon' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
107 | emptyIcon()
108 | }
[10/15] Compiling RatingControl IconSizePreferenceKey.swift
[11/15] Compiling RatingControl BackportShapeStyle.swift
[12/15] Compiling RatingControl Number+RoundToNearest.swift
[13/15] Emitting module RatingControl
[14/15] Compiling RatingControl RatingControl+Inits.swift
[15/15] Compiling RatingControl RatingControl.swift
Build complete! (23.35s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "RatingControl",
"name" : "RatingControl",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "RatingControl",
"targets" : [
"RatingControl"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RatingControlTests",
"module_type" : "SwiftTarget",
"name" : "RatingControlTests",
"path" : "Tests/RatingControlTests",
"sources" : [
"RatingControlTests.swift"
],
"target_dependencies" : [
"RatingControl"
],
"type" : "test"
},
{
"c99name" : "RatingControl",
"module_type" : "SwiftTarget",
"name" : "RatingControl",
"path" : "Sources/RatingControl",
"product_memberships" : [
"RatingControl"
],
"sources" : [
"Helper Types/InternalEnvironmentValues.swift",
"Helper Types/RatingControlIconFrameSizingMode.swift",
"RatingControl+Inits.swift",
"RatingControl.swift",
"Supporting/BackportShapeStyle.swift",
"Supporting/BackportSymbolVariants.swift",
"Supporting/BackportViewModifiers.swift",
"Supporting/Clamping.swift",
"Supporting/Float+IsWholeNumber.swift",
"Supporting/IconSizePreferenceKey.swift",
"Supporting/Number+RoundToNearest.swift",
"Supporting/Shape+ScaleCGSizeModifier.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.