Build Information
Failed to build AccessibilitySnapshot, reference 0.7.0 (ef2cf6
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 13:35:53 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: 0.7.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cashapp/AccessibilitySnapshot
* tag 0.7.0 -> FETCH_HEAD
HEAD is now at ef2cf60 Merge pull request #214 from ZevEisenberg/patch-1
Cloned https://github.com/cashapp/AccessibilitySnapshot.git
Revision (git rev-parse @):
ef2cf6015ad00c791fe3ff60f836b1fcc50f970c
SUCCESS checkout https://github.com/cashapp/AccessibilitySnapshot.git at 0.7.0
Fetching https://github.com/uber/ios-snapshot-test-case.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/3273] Fetching ios-snapshot-test-case
[231/15719] Fetching ios-snapshot-test-case, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.27s)
Fetched https://github.com/uber/ios-snapshot-test-case.git from cache (3.27s)
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.64s)
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.68s)
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 (3.91s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetching https://github.com/uber/ios-snapshot-test-case.git from cache
Fetched https://github.com/uber/ios-snapshot-test-case.git from cache (0.59s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.59s)
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.67s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66399] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.79s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.75s)
Creating working copy for https://github.com/cashapp/AccessibilitySnapshot.git
Working copy of https://github.com/cashapp/AccessibilitySnapshot.git resolved at 0.7.0 (ef2cf60)
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
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
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
[5/23] Compiling AccessibilitySnapshotCore-ObjC ASAccessibilityEnabler.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
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
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
/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
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 UIAccessibilityStatusUtility.m
[5/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.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
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/BUILD.bazel
/Users/admin/builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/Info.plist
BUILD FAILURE 6.0 macosSpm