Build Information
Successful build of HarnessKit, reference 1.0 (46dd22), with Swift 6.2 for macOS (SPM) on 22 Apr 2026 19:07:07 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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 46dd22c chore: removed harness kit transform from harnesskit
Cloned https://github.com/SzpakKamil/HarnessKit.git
Revision (git rev-parse @):
46dd22c9b49a872b17105e546062e003651a6218
SUCCESS checkout https://github.com/SzpakKamil/HarnessKit.git at 1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/SzpakKamil/HarnessKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--3CB7CFEC50E0D141.txt
[6/25] Compiling HarnessKitScreenshots ScreenshotShadow.swift
[7/26] Compiling HarnessKitScreenshots ScreenshotMetadata.swift
[8/26] Compiling HarnessKitScreenshots ScreenshotBackground.swift
[9/26] Compiling HarnessKitScreenshots ScreenshotConfig.swift
[10/26] Compiling HarnessKitScreenshots ScreenshotAppearance.swift
[11/26] Compiling HarnessKitScreenshots ScreenshotResolution.swift
[12/26] Compiling HarnessKitScreenshots TargetOS.swift
[13/26] Compiling HarnessKitScreenshots CropRect.swift
[14/26] Compiling HarnessKitScreenshots ExportPath.swift
[15/26] Compiling HarnessKitScreenshots Screenshot.swift
[16/26] Emitting module HarnessKitScreenshots
[17/26] Compiling HarnessKitScreenshots FillMode.swift
[18/26] Compiling HarnessKitScreenshots ScreenOrientation.swift
[19/26] Compiling HarnessKit PathProject.swift
[20/26] Compiling HarnessKit PathFolder.swift
[21/26] Compiling HarnessKit PathComponent.swift
[22/26] Compiling HarnessKit HarnessView.swift
[23/26] Compiling HarnessKit HarnessPreview.swift
[24/26] Emitting module HarnessKit
[25/26] Compiling HarnessKit ResizeWindow.swift
[26/26] Compiling HarnessKit PathResolver.swift
[27/34] Compiling HarnessKitScreenshotTesting UpdateOrientation.swift
[28/34] Emitting module HarnessKitScreenshotTesting
[29/34] Compiling HarnessKitScreenshotTesting CaptureScreenshot.swift
[30/34] Compiling HarnessKitScreenshotTesting ResetTheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/HarnessKitScreenshotTesting/ResetTheme.swift:10:23: warning: 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
| `- warning: main actor-isolated property 'appearance' can not be mutated from a nonisolated context
11 | #endif
12 | }
/Applications/Xcode-26.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: warning: 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
| `- warning: main actor-isolated class property 'shared' can not be mutated from a nonisolated context
11 | #endif
12 | }
/Applications/Xcode-26.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: warning: 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
| `- warning: main actor-isolated property 'appearance' can not be referenced from a nonisolated context
22 | ) ?? .unspecified
23 | #endif
/Applications/Xcode-26.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: warning: 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
| `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
22 | ) ?? .unspecified
23 | #endif
/Applications/Xcode-26.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");
[31/34] Compiling HarnessKitTesting PathFolderNavigation.swift
[32/34] Compiling HarnessKitTesting HarnessPreviewNavigation.swift
[33/34] Compiling HarnessKitTesting NavigationMethods.swift
[34/34] Emitting module HarnessKitTesting
Build complete! (15.12s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "HarnessKit",
"name" : "HarnessKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "macos",
"version" : "12.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" : [
"CropRect.swift",
"ExportPath.swift",
"FillMode.swift",
"ScreenOrientation.swift",
"Screenshot.swift",
"ScreenshotAppearance.swift",
"ScreenshotBackground.swift",
"ScreenshotConfig.swift",
"ScreenshotMetadata.swift",
"ScreenshotResolution.swift",
"ScreenshotShadow.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"
}
Done.