Build Information
Failed to build UUSwiftTestCore, reference main (1563c8), with Swift 6.1 for macOS (SPM) on 27 Jun 2026 18:58:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SilverPineSoftware/UUSwiftTestCore
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1563c80 Add github actions and update git ignore
Cloned https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Revision (git rev-parse @):
1563c80ed71b57662a9bdf9af96f8e6267605f6b
SUCCESS checkout https://github.com/SilverPineSoftware/UUSwiftTestCore.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/SilverPineSoftware/UUSwiftTestCore.git
https://github.com/SilverPineSoftware/UUSwiftTestCore.git
{
"dependencies" : [
],
"manifest_display_name" : "UUSwiftTestCore",
"name" : "UUSwiftTestCore",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "UUSwiftTestCore",
"targets" : [
"UUSwiftTestCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "UUSwiftTestCoreUX",
"targets" : [
"UUSwiftTestCoreUX"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4.2",
"5"
],
"targets" : [
{
"c99name" : "UUSwiftTestCoreUX",
"module_type" : "SwiftTarget",
"name" : "UUSwiftTestCoreUX",
"path" : "SourceUX",
"product_memberships" : [
"UUSwiftTestCoreUX"
],
"sources" : [
"UUTestView.swift"
],
"type" : "library"
},
{
"c99name" : "UUSwiftTestCoreTests",
"module_type" : "SwiftTarget",
"name" : "UUSwiftTestCoreTests",
"path" : "Test",
"sources" : [
"UUTestCaseTests.swift"
],
"target_dependencies" : [
"UUSwiftTestCore"
],
"type" : "test"
},
{
"c99name" : "UUSwiftTestCore",
"module_type" : "SwiftTarget",
"name" : "UUSwiftTestCore",
"path" : "Source",
"product_memberships" : [
"UUSwiftTestCore"
],
"sources" : [
"UUTestCase.swift",
"UUTestLog.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module UUSwiftTestCoreUX
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:12:39: error: 'Scene' is only available in macOS 11.0 or newer
10 | import SwiftUI
11 |
12 | public func UUTestHostScene() -> some Scene
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing global function
13 | {
14 | return WindowGroup
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:130:6: error: 'StateObject' is only available in macOS 11.0 or newer
126 | }
127 |
128 | public struct UUTestHostView: View
| `- note: add @available attribute to enclosing struct
129 | {
130 | @StateObject private var viewModel = UUTestHostViewModel()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
131 |
132 | public init()
[5/8] Compiling UUSwiftTestCoreUX UUTestView.swift
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:12:39: error: 'Scene' is only available in macOS 11.0 or newer
10 | import SwiftUI
11 |
12 | public func UUTestHostScene() -> some Scene
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing global function
13 | {
14 | return WindowGroup
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:130:6: error: 'StateObject' is only available in macOS 11.0 or newer
126 | }
127 |
128 | public struct UUTestHostView: View
| `- note: add @available attribute to enclosing struct
129 | {
130 | @StateObject private var viewModel = UUTestHostViewModel()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
131 |
132 | public init()
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:14:12: error: 'WindowGroup' is only available in macOS 11.0 or newer
10 | import SwiftUI
11 |
12 | public func UUTestHostScene() -> some Scene
| `- note: add @available attribute to enclosing global function
13 | {
14 | return WindowGroup
| |- error: 'WindowGroup' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
15 | {
16 | UUTestHostView()
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:14:12: error: 'init(makeContent:)' is only available in macOS 11.0 or newer
10 | import SwiftUI
11 |
12 | public func UUTestHostScene() -> some Scene
| `- note: add @available attribute to enclosing global function
13 | {
14 | return WindowGroup
| |- error: 'init(makeContent:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
15 | {
16 | UUTestHostView()
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:16:9: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | return WindowGroup
15 | {
16 | UUTestHostView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 | }
:
130 | @StateObject private var viewModel = UUTestHostViewModel()
131 |
132 | public init()
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
133 | {
134 |
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:75:17: warning: capture of 'self' with non-sendable type 'UUTestHostViewModel?' in a '@Sendable' closure
41 | }
42 |
43 | public class UUTestHostViewModel: ObservableObject
| `- note: class 'UUTestHostViewModel' does not conform to the 'Sendable' protocol
44 | {
45 | @Published var title: String = "Test Name"
:
73 | if let newTitle = notification.object as? String
74 | {
75 | self?.title = newTitle
| `- warning: capture of 'self' with non-sendable type 'UUTestHostViewModel?' in a '@Sendable' closure
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:87:17: warning: capture of 'self' with non-sendable type 'UUTestHostViewModel?' in a '@Sendable' closure
41 | }
42 |
43 | public class UUTestHostViewModel: ObservableObject
| `- note: class 'UUTestHostViewModel' does not conform to the 'Sendable' protocol
44 | {
45 | @Published var title: String = "Test Name"
:
85 | if let newLine = notification.object as? String
86 | {
87 | self?.incomingLines.send(newLine)
| `- warning: capture of 'self' with non-sendable type 'UUTestHostViewModel?' in a '@Sendable' closure
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:99:17: warning: capture of 'self' with non-sendable type 'UUTestHostViewModel?' in a '@Sendable' closure
41 | }
42 |
43 | public class UUTestHostViewModel: ObservableObject
| `- note: class 'UUTestHostViewModel' does not conform to the 'Sendable' protocol
44 | {
45 | @Published var title: String = "Test Name"
:
97 | if let buttonTitle = notification.userInfo?["title"] as? String
98 | {
99 | self?.buttonTitle = buttonTitle
| `- warning: capture of 'self' with non-sendable type 'UUTestHostViewModel?' in a '@Sendable' closure
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:147:13: error: 'ScrollViewReader' is only available in macOS 11.0 or newer
126 | }
127 |
128 | public struct UUTestHostView: View
| `- note: add @available attribute to enclosing struct
129 | {
130 | @StateObject private var viewModel = UUTestHostViewModel()
:
135 | }
136 |
137 | public var body: some View
| `- note: add @available attribute to enclosing property
138 | {
139 | VStack
:
145 | .frame(maxWidth: .infinity, alignment: .leading)
146 |
147 | ScrollViewReader { proxy in
| |- error: 'ScrollViewReader' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
148 | List(viewModel.lines.indices, id: \.self) { index in
149 | Text(viewModel.lines[index])
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:153:18: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
126 | }
127 |
128 | public struct UUTestHostView: View
| `- note: add @available attribute to enclosing struct
129 | {
130 | @StateObject private var viewModel = UUTestHostViewModel()
:
135 | }
136 |
137 | public var body: some View
| `- note: add @available attribute to enclosing property
138 | {
139 | VStack
:
151 | .id(index) // <-- IMPORTANT: Add .id so we can scroll to it
152 | }
153 | .onChange(of: viewModel.lines.count) { _ in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
154 | // Scroll to the last item when lines change
155 | if let lastIndex = viewModel.lines.indices.last {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module UUSwiftTestCoreUX
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:12:39: error: 'Scene' is only available in macOS 11.0 or newer
10 | import SwiftUI
11 |
12 | public func UUTestHostScene() -> some Scene
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing global function
13 | {
14 | return WindowGroup
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:130:6: error: 'StateObject' is only available in macOS 11.0 or newer
126 | }
127 |
128 | public struct UUTestHostView: View
| `- note: add @available attribute to enclosing struct
129 | {
130 | @StateObject private var viewModel = UUTestHostViewModel()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
131 |
132 | public init()
[3/6] Compiling UUSwiftTestCoreUX UUTestView.swift
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:12:39: error: 'Scene' is only available in macOS 11.0 or newer
10 | import SwiftUI
11 |
12 | public func UUTestHostScene() -> some Scene
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing global function
13 | {
14 | return WindowGroup
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:130:6: error: 'StateObject' is only available in macOS 11.0 or newer
126 | }
127 |
128 | public struct UUTestHostView: View
| `- note: add @available attribute to enclosing struct
129 | {
130 | @StateObject private var viewModel = UUTestHostViewModel()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
131 |
132 | public init()
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:14:12: error: 'WindowGroup' is only available in macOS 11.0 or newer
10 | import SwiftUI
11 |
12 | public func UUTestHostScene() -> some Scene
| `- note: add @available attribute to enclosing global function
13 | {
14 | return WindowGroup
| |- error: 'WindowGroup' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
15 | {
16 | UUTestHostView()
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:14:12: error: 'init(makeContent:)' is only available in macOS 11.0 or newer
10 | import SwiftUI
11 |
12 | public func UUTestHostScene() -> some Scene
| `- note: add @available attribute to enclosing global function
13 | {
14 | return WindowGroup
| |- error: 'init(makeContent:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
15 | {
16 | UUTestHostView()
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:147:13: error: 'ScrollViewReader' is only available in macOS 11.0 or newer
126 | }
127 |
128 | public struct UUTestHostView: View
| `- note: add @available attribute to enclosing struct
129 | {
130 | @StateObject private var viewModel = UUTestHostViewModel()
:
135 | }
136 |
137 | public var body: some View
| `- note: add @available attribute to enclosing property
138 | {
139 | VStack
:
145 | .frame(maxWidth: .infinity, alignment: .leading)
146 |
147 | ScrollViewReader { proxy in
| |- error: 'ScrollViewReader' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
148 | List(viewModel.lines.indices, id: \.self) { index in
149 | Text(viewModel.lines[index])
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:153:18: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
126 | }
127 |
128 | public struct UUTestHostView: View
| `- note: add @available attribute to enclosing struct
129 | {
130 | @StateObject private var viewModel = UUTestHostViewModel()
:
135 | }
136 |
137 | public var body: some View
| `- note: add @available attribute to enclosing property
138 | {
139 | VStack
:
151 | .id(index) // <-- IMPORTANT: Add .id so we can scroll to it
152 | }
153 | .onChange(of: viewModel.lines.count) { _ in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
154 | // Scroll to the last item when lines change
155 | if let lastIndex = viewModel.lines.indices.last {
BUILD FAILURE 6.1 macosSpm