Build Information
Failed to build HarnessKit, reference 1.0 (505a98), with Swift 6.1 for macOS (SPM) on 24 Jun 2026 23:17:08 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/SzpakKamil/HarnessKit.git
Reference: 1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SzpakKamil/HarnessKit
* branch 1.0 -> FETCH_HEAD
* [new branch] 1.0 -> origin/1.0
HEAD is now at 505a987 docs: rewrite DocC catalogs to match slim API
Cloned https://github.com/SzpakKamil/HarnessKit.git
Revision (git rev-parse @):
505a98750ab967fdc5535acdcaa3b23339a94ec2
SUCCESS checkout https://github.com/SzpakKamil/HarnessKit.git at 1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/SzpakKamil/HarnessKit.git
https://github.com/SzpakKamil/HarnessKit.git
{
"dependencies" : [
],
"manifest_display_name" : "HarnessKit",
"name" : "HarnessKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "HarnessKit",
"targets" : [
"HarnessKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HarnessKitTesting",
"targets" : [
"HarnessKitTesting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HarnessKitScreenshots",
"targets" : [
"HarnessKitScreenshots"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HarnessKitScreenshotTesting",
"targets" : [
"HarnessKitScreenshotTesting"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HarnessKitTests",
"module_type" : "SwiftTarget",
"name" : "HarnessKitTests",
"path" : "Tests/HarnessKitTests",
"sources" : [
"HarnessKitTests.swift",
"NavigateLogicTests.swift"
],
"target_dependencies" : [
"HarnessKit",
"HarnessKitTesting"
],
"type" : "test"
},
{
"c99name" : "HarnessKitTesting",
"module_type" : "SwiftTarget",
"name" : "HarnessKitTesting",
"path" : "Sources/HarnessKitTesting",
"product_memberships" : [
"HarnessKitTesting"
],
"sources" : [
"HarnessPreviewNavigation.swift",
"NavigationMethods.swift",
"PathFolderNavigation.swift"
],
"target_dependencies" : [
"HarnessKit"
],
"type" : "library"
},
{
"c99name" : "HarnessKitScreenshots",
"module_type" : "SwiftTarget",
"name" : "HarnessKitScreenshots",
"path" : "Sources/HarnessKitScreenshots",
"product_memberships" : [
"HarnessKitScreenshots",
"HarnessKitScreenshotTesting"
],
"sources" : [
"ScreenOrientation.swift",
"Screenshot.swift",
"ScreenshotAppearance.swift",
"TargetOS.swift"
],
"type" : "library"
},
{
"c99name" : "HarnessKitScreenshotTesting",
"module_type" : "SwiftTarget",
"name" : "HarnessKitScreenshotTesting",
"path" : "Sources/HarnessKitScreenshotTesting",
"product_memberships" : [
"HarnessKitScreenshotTesting"
],
"sources" : [
"CaptureScreenshot.swift",
"ResetTheme.swift",
"UpdateOrientation.swift"
],
"target_dependencies" : [
"HarnessKitScreenshots"
],
"type" : "library"
},
{
"c99name" : "HarnessKit",
"module_type" : "SwiftTarget",
"name" : "HarnessKit",
"path" : "Sources/HarnessKit",
"product_memberships" : [
"HarnessKit",
"HarnessKitTesting"
],
"sources" : [
"HarnessPreview.swift",
"HarnessView.swift",
"PathComponent.swift",
"PathFolder.swift",
"PathProject.swift",
"PathResolver.swift",
"ResizeWindow.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/18] Compiling HarnessKitScreenshots ScreenshotAppearance.swift
[7/18] Compiling HarnessKit HarnessPreview.swift
[8/18] Compiling HarnessKitScreenshots Screenshot.swift
[9/18] Compiling HarnessKitScreenshots TargetOS.swift
[10/18] Emitting module HarnessKit
[11/18] Emitting module HarnessKitScreenshots
[12/18] Compiling HarnessKitScreenshots ScreenOrientation.swift
[13/18] Compiling HarnessKit PathResolver.swift
[14/18] Compiling HarnessKit PathComponent.swift
[15/18] Compiling HarnessKit ResizeWindow.swift
[16/18] Compiling HarnessKit HarnessView.swift
[17/18] Compiling HarnessKit PathFolder.swift
[18/18] Compiling HarnessKit PathProject.swift
[19/26] Compiling HarnessKitScreenshotTesting UpdateOrientation.swift
[20/26] Compiling HarnessKitScreenshotTesting ResetTheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/HarnessKitScreenshotTesting/ResetTheme.swift:10:23: error: main actor-isolated property 'appearance' can not be mutated from a nonisolated context
6 | /// Sets the device appearance (light/dark) for UI tests.
7 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, visionOS 1.0, watchOS 10.0, *)
8 | public func resetTheme(to appearance: XCUIDevice.Appearance) {
| `- note: add '@MainActor' to make global function 'resetTheme(to:)' part of global actor 'MainActor'
9 | #if !os(watchOS)
10 | XCUIDevice.shared.appearance = appearance
| `- error: main actor-isolated property 'appearance' can not be mutated from a nonisolated context
11 | #endif
12 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIDevice.h:118:44: note: mutation of this property is only permitted within the actor
116 | * Get or set the UI style of the device. Uses the `XCUIDeviceAppearance` enum to describe the UI style.
117 | */
118 | @property (nonatomic) XCUIDeviceAppearance appearance API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos);
| `- note: mutation of this property is only permitted within the actor
119 |
120 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/HarnessKitScreenshotTesting/ResetTheme.swift:10:16: error: main actor-isolated class property 'shared' can not be mutated from a nonisolated context
6 | /// Sets the device appearance (light/dark) for UI tests.
7 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, visionOS 1.0, watchOS 10.0, *)
8 | public func resetTheme(to appearance: XCUIDevice.Appearance) {
| `- note: add '@MainActor' to make global function 'resetTheme(to:)' part of global actor 'MainActor'
9 | #if !os(watchOS)
10 | XCUIDevice.shared.appearance = appearance
| `- error: main actor-isolated class property 'shared' can not be mutated from a nonisolated context
11 | #endif
12 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIDevice.h:41:41: note: mutation of this class property is only permitted within the actor
39 |
40 | /*! The current device. */
41 | @property (class, readonly) XCUIDevice *sharedDevice;
| `- note: mutation of this class property is only permitted within the actor
42 |
43 | + (instancetype)new XCUI_UNAVAILABLE("Access XCUIDevice through +sharedDevice");
/Users/admin/builder/spi-builder-workspace/Sources/HarnessKitScreenshotTesting/ResetTheme.swift:21:37: error: main actor-isolated property 'appearance' can not be referenced from a nonisolated context
14 | /// Returns the current device appearance used during UI tests.
15 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, visionOS 1.0, watchOS 10.0, *)
16 | public func currentTheme() -> XCUIDevice.Appearance {
| `- note: add '@MainActor' to make global function 'currentTheme()' part of global actor 'MainActor'
17 | #if os(watchOS)
18 | return .unspecified
19 | #else
20 | return XCUIDevice.Appearance(
21 | rawValue: XCUIDevice.shared.appearance.rawValue
| `- error: main actor-isolated property 'appearance' can not be referenced from a nonisolated context
22 | ) ?? .unspecified
23 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIDevice.h:118:44: note: property declared here
116 | * Get or set the UI style of the device. Uses the `XCUIDeviceAppearance` enum to describe the UI style.
117 | */
118 | @property (nonatomic) XCUIDeviceAppearance appearance API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos);
| `- note: property declared here
119 |
120 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/HarnessKitScreenshotTesting/ResetTheme.swift:21:30: error: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
14 | /// Returns the current device appearance used during UI tests.
15 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, visionOS 1.0, watchOS 10.0, *)
16 | public func currentTheme() -> XCUIDevice.Appearance {
| `- note: add '@MainActor' to make global function 'currentTheme()' part of global actor 'MainActor'
17 | #if os(watchOS)
18 | return .unspecified
19 | #else
20 | return XCUIDevice.Appearance(
21 | rawValue: XCUIDevice.shared.appearance.rawValue
| `- error: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
22 | ) ?? .unspecified
23 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIDevice.h:41:41: note: class property declared here
39 |
40 | /*! The current device. */
41 | @property (class, readonly) XCUIDevice *sharedDevice;
| `- note: class property declared here
42 |
43 | + (instancetype)new XCUI_UNAVAILABLE("Access XCUIDevice through +sharedDevice");
[21/26] Compiling HarnessKitScreenshotTesting CaptureScreenshot.swift
[22/26] Emitting module HarnessKitScreenshotTesting
[23/26] Emitting module HarnessKitTesting
[24/26] Compiling HarnessKitTesting NavigationMethods.swift
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
[2/14] Compiling HarnessKitScreenshots ScreenshotAppearance.swift
[3/14] Compiling HarnessKitScreenshots TargetOS.swift
[4/14] Compiling HarnessKit PathResolver.swift
[5/14] Compiling HarnessKit ResizeWindow.swift
[6/14] Compiling HarnessKit PathProject.swift
[7/14] Compiling HarnessKit PathComponent.swift
[8/14] Compiling HarnessKit PathFolder.swift
[9/14] Compiling HarnessKit HarnessPreview.swift
[10/14] Compiling HarnessKit HarnessView.swift
[11/14] Emitting module HarnessKit
[12/14] Emitting module HarnessKitScreenshots
[13/14] Compiling HarnessKitScreenshots Screenshot.swift
[14/14] Compiling HarnessKitScreenshots ScreenOrientation.swift
[15/22] Compiling HarnessKitScreenshotTesting UpdateOrientation.swift
[16/22] Compiling HarnessKitScreenshotTesting ResetTheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/HarnessKitScreenshotTesting/ResetTheme.swift:10:23: error: main actor-isolated property 'appearance' can not be mutated from a nonisolated context
6 | /// Sets the device appearance (light/dark) for UI tests.
7 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, visionOS 1.0, watchOS 10.0, *)
8 | public func resetTheme(to appearance: XCUIDevice.Appearance) {
| `- note: add '@MainActor' to make global function 'resetTheme(to:)' part of global actor 'MainActor'
9 | #if !os(watchOS)
10 | XCUIDevice.shared.appearance = appearance
| `- error: main actor-isolated property 'appearance' can not be mutated from a nonisolated context
11 | #endif
12 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIDevice.h:118:44: note: mutation of this property is only permitted within the actor
116 | * Get or set the UI style of the device. Uses the `XCUIDeviceAppearance` enum to describe the UI style.
117 | */
118 | @property (nonatomic) XCUIDeviceAppearance appearance API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos);
| `- note: mutation of this property is only permitted within the actor
119 |
120 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/HarnessKitScreenshotTesting/ResetTheme.swift:10:16: error: main actor-isolated class property 'shared' can not be mutated from a nonisolated context
6 | /// Sets the device appearance (light/dark) for UI tests.
7 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, visionOS 1.0, watchOS 10.0, *)
8 | public func resetTheme(to appearance: XCUIDevice.Appearance) {
| `- note: add '@MainActor' to make global function 'resetTheme(to:)' part of global actor 'MainActor'
9 | #if !os(watchOS)
10 | XCUIDevice.shared.appearance = appearance
| `- error: main actor-isolated class property 'shared' can not be mutated from a nonisolated context
11 | #endif
12 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIDevice.h:41:41: note: mutation of this class property is only permitted within the actor
39 |
40 | /*! The current device. */
41 | @property (class, readonly) XCUIDevice *sharedDevice;
| `- note: mutation of this class property is only permitted within the actor
42 |
43 | + (instancetype)new XCUI_UNAVAILABLE("Access XCUIDevice through +sharedDevice");
/Users/admin/builder/spi-builder-workspace/Sources/HarnessKitScreenshotTesting/ResetTheme.swift:21:37: error: main actor-isolated property 'appearance' can not be referenced from a nonisolated context
14 | /// Returns the current device appearance used during UI tests.
15 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, visionOS 1.0, watchOS 10.0, *)
16 | public func currentTheme() -> XCUIDevice.Appearance {
| `- note: add '@MainActor' to make global function 'currentTheme()' part of global actor 'MainActor'
17 | #if os(watchOS)
18 | return .unspecified
19 | #else
20 | return XCUIDevice.Appearance(
21 | rawValue: XCUIDevice.shared.appearance.rawValue
| `- error: main actor-isolated property 'appearance' can not be referenced from a nonisolated context
22 | ) ?? .unspecified
23 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIDevice.h:118:44: note: property declared here
116 | * Get or set the UI style of the device. Uses the `XCUIDeviceAppearance` enum to describe the UI style.
117 | */
118 | @property (nonatomic) XCUIDeviceAppearance appearance API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos);
| `- note: property declared here
119 |
120 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/HarnessKitScreenshotTesting/ResetTheme.swift:21:30: error: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
14 | /// Returns the current device appearance used during UI tests.
15 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, visionOS 1.0, watchOS 10.0, *)
16 | public func currentTheme() -> XCUIDevice.Appearance {
| `- note: add '@MainActor' to make global function 'currentTheme()' part of global actor 'MainActor'
17 | #if os(watchOS)
18 | return .unspecified
19 | #else
20 | return XCUIDevice.Appearance(
21 | rawValue: XCUIDevice.shared.appearance.rawValue
| `- error: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
22 | ) ?? .unspecified
23 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIDevice.h:41:41: note: class property declared here
39 |
40 | /*! The current device. */
41 | @property (class, readonly) XCUIDevice *sharedDevice;
| `- note: class property declared here
42 |
43 | + (instancetype)new XCUI_UNAVAILABLE("Access XCUIDevice through +sharedDevice");
[17/22] Compiling HarnessKitTesting NavigationMethods.swift
[18/22] Emitting module HarnessKitTesting
[19/22] Compiling HarnessKitTesting PathFolderNavigation.swift
[20/22] Compiling HarnessKitTesting HarnessPreviewNavigation.swift
[21/22] Emitting module HarnessKitScreenshotTesting
[22/22] Compiling HarnessKitScreenshotTesting CaptureScreenshot.swift
BUILD FAILURE 6.1 macosSpm