The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UUSwiftTestCore, reference main (1563c8), with Swift 6.3 for macOS (SPM) on 27 Jun 2026 19:06:23 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build 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
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "uuswifttestcore",
      "name": "UUSwiftTestCore",
      "url": "https://github.com/SilverPineSoftware/UUSwiftTestCore.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UUSwiftTestCore",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SilverPineSoftware/UUSwiftTestCore.git
[1/78] Fetching uuswifttestcore
Fetched https://github.com/SilverPineSoftware/UUSwiftTestCore.git from cache (0.64s)
Creating working copy for https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Working copy of https://github.com/SilverPineSoftware/UUSwiftTestCore.git resolved at main (1563c80)
warning: '.resolve-product-dependencies': dependency 'uuswifttestcore' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.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: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.3 macosSpm