The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AccessibilitySnapshot with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cashapp/AccessibilitySnapshot.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/cashapp/AccessibilitySnapshot
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
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.19s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.24s)
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.02s)
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.42s)
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
warning: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/ios-snapshot-test-case-085cb931 is not valid git repository for 'https://github.com/uber/ios-snapshot-test-case.git', will fetch again.
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.01s)
warning: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/ios-snapshot-test-case-085cb931 is not valid git repository for 'https://github.com/uber/ios-snapshot-test-case.git', will fetch again.
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.01s)
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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "accessibilitysnapshot",
      "name": "AccessibilitySnapshot",
      "url": "https://github.com/cashapp/AccessibilitySnapshot.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.15.4",
          "path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
          "dependencies": [
            {
              "identity": "swift-syntax",
              "name": "swift-syntax",
              "url": "https://github.com/apple/swift-syntax",
              "version": "510.0.1",
              "path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/cashapp/AccessibilitySnapshot.git
[1/4855] Fetching accessibilitysnapshot
Fetched https://github.com/cashapp/AccessibilitySnapshot.git from cache (5.08s)
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.22s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.26s)
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.15.4 (0.33s)
Fetching https://github.com/apple/swift-syntax from cache
Fetched https://github.com/apple/swift-syntax from cache (1.01s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.1 (0.02s)
warning: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/swift-syntax-463e60c9 is not valid git repository for 'https://github.com/apple/swift-syntax', will fetch again.
Fetching https://github.com/apple/swift-syntax from cache
Fetched https://github.com/apple/swift-syntax from cache (0.51s)
warning: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/swift-syntax-463e60c9 is not valid git repository for 'https://github.com/apple/swift-syntax', will fetch again.
Fetching https://github.com/apple/swift-syntax from cache
Fetched https://github.com/apple/swift-syntax from cache (0.47s)
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 510.0.1
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.15.4
warning: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/ios-snapshot-test-case-085cb931 is not valid git repository for 'https://github.com/uber/ios-snapshot-test-case.git', will fetch again.
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.01s)
warning: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/ios-snapshot-test-case-085cb931 is not valid git repository for 'https://github.com/uber/ios-snapshot-test-case.git', will fetch again.
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.01s)
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/cashapp/AccessibilitySnapshot.git
Working copy of https://github.com/cashapp/AccessibilitySnapshot.git resolved at master (ef2cf60)
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:  $workDir
https://github.com/cashapp/AccessibilitySnapshot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.m:32:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/23] Compiling UIImage+Compare.m
[0/23] Compiling UIImage+Snapshot.m
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.m:11:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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>
        ^~~~~~~~~~~~~~~
[0/23] Compiling UIApplication+KeyWindow.m
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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>
        ^~~~~~~~~~~~~~~
[0/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.m:32:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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>
        ^~~~~~~~~~~~~~~
[0/23] Compiling UIImage+Diff.m
[0/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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>
        ^~~~~~~~~~~~~~~
[0/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
[0/23] Write swift-version-6044DDE57671499D.txt
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/BUILD.bazel
    /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/Info.plist
[0/1] Planning build
Building for debugging...
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.m:32:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/23] Compiling UIImage+Compare.m
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.m:32:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/23] Compiling UIImage+Diff.m
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.m:11:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.
[0/23] Compiling UIApplication+KeyWindow.m
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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>
        ^~~~~~~~~~~~~~~
[0/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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>
        ^~~~~~~~~~~~~~~
[0/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
[0/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.m:11:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/23] Compiling UIImage+Snapshot.m
[0/23] Write swift-version-6044DDE57671499D.txt
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/Info.plist
    /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/BUILD.bazel
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7