Build Information
Failed to build AccessibilitySnapshot, reference master (4ea8cb
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 13:35:57 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cashapp/AccessibilitySnapshot.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cashapp/AccessibilitySnapshot
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4ea8cbf Remove Bazel support (#222)
Cloned https://github.com/cashapp/AccessibilitySnapshot.git
Revision (git rev-parse @):
4ea8cbf5e18b8b53b9a3d1b7e01a5f478483a925
SUCCESS checkout https://github.com/cashapp/AccessibilitySnapshot.git at master
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/uber/ios-snapshot-test-case.git
[1/12446] Fetching swift-snapshot-testing
[126/15719] Fetching swift-snapshot-testing, ios-snapshot-test-case
Fetched https://github.com/uber/ios-snapshot-test-case.git from cache (1.29s)
[623/12446] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (10.36s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.8.2 (0.71s)
Computing version for https://github.com/uber/ios-snapshot-test-case.git
Computed https://github.com/uber/ios-snapshot-test-case.git at 8.0.0 (1.70s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.8.2
Creating working copy for https://github.com/uber/ios-snapshot-test-case.git
Working copy of https://github.com/uber/ios-snapshot-test-case.git resolved at 8.0.0
========================================
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",
"dependencies": [
{
"identity": "accessibilitysnapshot",
"name": "AccessibilitySnapshot",
"url": "https://github.com/cashapp/AccessibilitySnapshot.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AccessibilitySnapshot",
"dependencies": [
{
"identity": "ios-snapshot-test-case",
"name": "iOSSnapshotTestCase",
"url": "https://github.com/uber/ios-snapshot-test-case.git",
"version": "8.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ios-snapshot-test-case",
"dependencies": [
]
},
{
"identity": "swift-snapshot-testing",
"name": "swift-snapshot-testing",
"url": "https://github.com/pointfreeco/swift-snapshot-testing.git",
"version": "1.17.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax",
"version": "600.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/cashapp/AccessibilitySnapshot.git
[1/4990] Fetching accessibilitysnapshot
Fetched https://github.com/cashapp/AccessibilitySnapshot.git from cache (10.05s)
Fetching https://github.com/uber/ios-snapshot-test-case.git from cache
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetched https://github.com/uber/ios-snapshot-test-case.git from cache (0.60s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.60s)
Computing version for https://github.com/uber/ios-snapshot-test-case.git
Computed https://github.com/uber/ios-snapshot-test-case.git at 8.0.0 (0.03s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.6 (0.66s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66399] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.49s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.72s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/cashapp/AccessibilitySnapshot.git
Working copy of https://github.com/cashapp/AccessibilitySnapshot.git resolved at master (4ea8cbf)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.17.6
Creating working copy for https://github.com/uber/ios-snapshot-test-case.git
Working copy of https://github.com/uber/ios-snapshot-test-case.git resolved at 8.0.0
warning: '.resolve-product-dependencies': dependency 'accessibilitysnapshot' is not used by any target
Found 2 product dependencies
- iOSSnapshotTestCase
- swift-snapshot-testing
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/cashapp/AccessibilitySnapshot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/23] Write sources
[3/23] Write swift-version--7754E27361AE5C74.txt
[4/23] Copying Localizable.strings
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.m:11:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
1 error generated.
[5/23] Compiling UIApplication+KeyWindow.m
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.m:11:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[5/23] Compiling UIImage+Snapshot.m
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/FBSnapshotTestController.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[5/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/FBSnapshotTestCasePlatform.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[5/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.m:32:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
31 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[5/23] Compiling UIImage+Compare.m
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.m:32:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
31 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[5/23] Compiling UIImage+Diff.m
[5/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/AccessibilitySnapshot/Core/ObjC/UIAccessibilityStatusUtility.m:42:
/Users/admin/builder/spi-builder-workspace/Sources/AccessibilitySnapshot/Core/ObjC/include/UIAccessibilityStatusUtility.h:17:9: fatal error: 'UIKit/UIKit.h' file not found
17 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[5/23] Compiling AccessibilitySnapshotCore-ObjC ASAccessibilityEnabler.m
[5/23] Compiling AccessibilitySnapshotCore-ObjC UIAccessibilityStatusUtility.m
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/Info.plist
BUILD FAILURE 6.0 macosSpm