Build Information
Failed to build AccessibilitySnapshot, reference master (4ea8cb
), with Swift 5.10 for macOS (SPM) on 20 Sep 2024 22:21:41 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.54.2
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/uber/ios-snapshot-test-case.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/3266] Fetching ios-snapshot-test-case
[491/15549] Fetching ios-snapshot-test-case, swift-snapshot-testing
Fetched https://github.com/uber/ios-snapshot-test-case.git from cache (2.87s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.87s)
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.62s)
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.38s)
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.5",
"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.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/cashapp/AccessibilitySnapshot.git
[1/4988] Fetching accessibilitysnapshot
Fetched https://github.com/cashapp/AccessibilitySnapshot.git from cache (3.42s)
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/pointfreeco/swift-snapshot-testing.git from cache (0.56s)
Fetched https://github.com/uber/ios-snapshot-test-case.git from cache (0.56s)
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.02s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.5 (0.56s)
Fetching https://github.com/swiftlang/swift-syntax
[1/65214] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.22s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.0 (0.64s)
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.5
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/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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.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: 5.10
Building package at path: $PWD
https://github.com/cashapp/AccessibilitySnapshot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/23] Write sources
[5/23] Write swift-version-33747A42983211AE.txt
[6/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
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
1 error generated.
[7/54] Compiling UIApplication+KeyWindow.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
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[7/54] Compiling UIImage+Compare.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
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[7/54] Compiling UIImage+Snapshot.m
[7/54] 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
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[7/54] Compiling UIImage+Diff.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
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[7/54] Compiling AccessibilitySnapshotCore-ObjC UIAccessibilityStatusUtility.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
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[7/54] 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
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[7/54] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
[7/54] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.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 5.10 macosSpm