Build Information
Failed to build UIHelper, reference 1.1.2 (fedae3
), with Swift 6.0 for macOS (SPM) on 16 Sep 2024 13:04:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/UIHelper.git
Reference: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NikSativa/UIHelper
* tag 1.1.2 -> FETCH_HEAD
HEAD is now at fedae39 SelfSize modifier
Cloned https://github.com/NikSativa/UIHelper.git
Revision (git rev-parse @):
fedae391ed1cf07226b5e7ced08afc1a6adb47ce
SUCCESS checkout https://github.com/NikSativa/UIHelper.git at 1.1.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/NikSativa/UIHelper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[5/9] Write swift-version-117DEE11B69C53C9.txt
[6/46] Compiling CwlMachBadInstructionHandler mach_excServer.c
[7/46] Compiling CwlCatchExceptionSupport CwlCatchException.m
[8/48] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[10/48] Emitting module UIHelper
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/ScreenSize.swift:8:23: warning: static property 'defaultLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case large
7 |
8 | public static var defaultLimit: CGSize = .init(width: 400, height: 400)
| |- warning: static property 'defaultLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLimit' 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
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:13: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
11 | @available(iOS 15.0, *)
12 | private struct SelfSizeKey: PreferenceKey {
13 | static var defaultValue: CGSize = .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
14 |
15 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/WindowSize.swift:27: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
25 |
26 | private struct WindowSizeKey: EnvironmentKey {
27 | static var defaultValue: CGRect = .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
28 | }
29 |
[11/52] Compiling UIHelper TextFieldStyleProperty.swift
[12/52] Compiling UIHelper TextViewStyleProperty.swift
[13/52] Compiling UIHelper ViewStyleProperty.swift
[14/52] Compiling UIHelper ViewStyle.swift
[15/52] Compiling UIHelper LayoutConstraint+UIKit.swift
[16/52] Compiling UIHelper UICollectionView+UIKit.swift
[17/52] Compiling UIHelper UICollectionViewFlowLayout+UIKit.swift
[18/52] Compiling UIHelper UIGestureRecognizer+UIKit.swift
[19/52] Compiling UIHelper ImageViewStyleProperty.swift
[20/52] Compiling UIHelper LabelStyleProperty.swift
[21/52] Compiling UIHelper NavigationBarStyleProperty.swift
[22/52] Compiling UIHelper PageControlStyleProperty.swift
[23/52] Compiling UIHelper SliderStyleProperty.swift
[24/52] Compiling UIHelper StackViewStyleProperty.swift
[25/52] Compiling UIHelper SwitchStyleProperty.swift
[26/52] Compiling UIHelper TableViewStyleProperty.swift
[27/52] Compiling UIHelper UIScrollView+UIKit.swift
[28/52] Compiling UIHelper UIStackView+UIKit.swift
[29/52] Compiling UIHelper UITableView+UIKit.swift
[30/52] Compiling UIHelper UIView+UIKit.swift
[31/52] Compiling UIHelper KeyboardHandling.swift
[32/52] Compiling UIHelper LabelLinksHandler.swift
[33/52] Compiling UIHelper ModalPresenter.swift
[34/52] Compiling UIHelper TransparentTouchView.swift
[35/52] Compiling UIHelper UIViewController+UIKit.swift
[36/52] Compiling UIHelper GradientView.swift
[37/52] Compiling UIHelper KeyboardHandler.swift
[38/52] Compiling UIHelper KeyboardHandlerConfiguration.swift
[39/52] Compiling UIHelper BarItemStyleProperty.swift
[40/52] Compiling UIHelper ButtonStyleProperty.swift
[41/52] Compiling UIHelper CollectionViewStyleProperty.swift
[42/52] Compiling UIHelper GradientViewStyleProperty.swift
[43/52] Compiling UIHelper AppRootViewControllerProviding.swift
[44/52] Compiling UIHelper AppWindowProvider.swift
[45/52] Compiling UIHelper AutoLayoutBuilder.swift
[46/52] Compiling UIHelper CircleView.swift
[47/52] Emitting module CwlCatchException
[48/52] Compiling CwlCatchException CwlCatchException.swift
[49/56] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
[50/56] Emitting module CwlPreconditionTesting
[51/56] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
[52/56] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
[53/92] Compiling SpryKit AnyEquality.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/ScreenSize.swift:8:23: warning: static property 'defaultLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case large
7 |
8 | public static var defaultLimit: CGSize = .init(width: 400, height: 400)
| |- warning: static property 'defaultLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLimit' 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
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:13: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
11 | @available(iOS 15.0, *)
12 | private struct SelfSizeKey: PreferenceKey {
13 | static var defaultValue: CGSize = .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
14 |
15 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:25:17: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
19 |
20 | @available(iOS 15.0, *)
21 | private struct SelfSizeModifier: ViewModifier {
| `- note: add @available attribute to enclosing struct
22 | @Binding var size: CGSize
23 |
24 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
25 | content.background {
| |- error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
26 | GeometryReader { proxy in
27 | Color.clear
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/WindowSize.swift:27: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
25 |
26 | private struct WindowSizeKey: EnvironmentKey {
27 | static var defaultValue: CGRect = .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
28 | }
29 |
[54/92] Compiling SpryKit Argument.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/ScreenSize.swift:8:23: warning: static property 'defaultLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case large
7 |
8 | public static var defaultLimit: CGSize = .init(width: 400, height: 400)
| |- warning: static property 'defaultLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLimit' 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
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:13: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
11 | @available(iOS 15.0, *)
12 | private struct SelfSizeKey: PreferenceKey {
13 | static var defaultValue: CGSize = .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
14 |
15 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:25:17: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
19 |
20 | @available(iOS 15.0, *)
21 | private struct SelfSizeModifier: ViewModifier {
| `- note: add @available attribute to enclosing struct
22 | @Binding var size: CGSize
23 |
24 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
25 | content.background {
| |- error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
26 | GeometryReader { proxy in
27 | Color.clear
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/WindowSize.swift:27: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
25 |
26 | private struct WindowSizeKey: EnvironmentKey {
27 | static var defaultValue: CGRect = .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
28 | }
29 |
[55/92] Compiling SpryKit ArgumentCaptor.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/ScreenSize.swift:8:23: warning: static property 'defaultLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case large
7 |
8 | public static var defaultLimit: CGSize = .init(width: 400, height: 400)
| |- warning: static property 'defaultLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLimit' 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
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:13: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
11 | @available(iOS 15.0, *)
12 | private struct SelfSizeKey: PreferenceKey {
13 | static var defaultValue: CGSize = .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
14 |
15 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:25:17: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
19 |
20 | @available(iOS 15.0, *)
21 | private struct SelfSizeModifier: ViewModifier {
| `- note: add @available attribute to enclosing struct
22 | @Binding var size: CGSize
23 |
24 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
25 | content.background {
| |- error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
26 | GeometryReader { proxy in
27 | Color.clear
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/WindowSize.swift:27: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
25 |
26 | private struct WindowSizeKey: EnvironmentKey {
27 | static var defaultValue: CGRect = .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
28 | }
29 |
[56/92] Compiling SpryKit FatalErrorTexting.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/ScreenSize.swift:8:23: warning: static property 'defaultLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case large
7 |
8 | public static var defaultLimit: CGSize = .init(width: 400, height: 400)
| |- warning: static property 'defaultLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLimit' 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
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:13: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
11 | @available(iOS 15.0, *)
12 | private struct SelfSizeKey: PreferenceKey {
13 | static var defaultValue: CGSize = .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
14 |
15 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:25:17: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
19 |
20 | @available(iOS 15.0, *)
21 | private struct SelfSizeModifier: ViewModifier {
| `- note: add @available attribute to enclosing struct
22 | @Binding var size: CGSize
23 |
24 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
25 | content.background {
| |- error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
26 | GeometryReader { proxy in
27 | Color.clear
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/WindowSize.swift:27: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
25 |
26 | private struct WindowSizeKey: EnvironmentKey {
27 | static var defaultValue: CGRect = .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
28 | }
29 |
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/NikSativa/SpryKit.git
[13/1257] Fetching cwlpreconditiontesting
[203/1712] Fetching cwlpreconditiontesting, cwlcatchexception
[947/2500] Fetching cwlpreconditiontesting, cwlcatchexception, SpryKit
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (1.01s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.01s)
Fetched https://github.com/NikSativa/SpryKit.git from cache (1.01s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 2.2.3 (0.54s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.1 (3.34s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.0 (0.63s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.0
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 2.2.3
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.1
BUILD FAILURE 6.0 macosSpm