The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AccessibilitySnapshot, reference master (e88ecb), with Swift 6.1 for macOS (SPM) on 27 Jun 2025 21:47:39 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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 e88ecb7 Merge pull request #248 from cashapp/soroush/add-codeowners
Cloned https://github.com/cashapp/AccessibilitySnapshot.git
Revision (git rev-parse @):
e88ecb7c2e31bcd3492cb29ba002ecffa18e6590
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 from cache
[1/3287] Fetching ios-snapshot-test-case
Fetched https://github.com/uber/ios-snapshot-test-case.git from cache (1.23s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.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 (1.87s)
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.50s)
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.18.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
          "dependencies": [
            {
              "identity": "swift-custom-dump",
              "name": "swift-custom-dump",
              "url": "https://github.com/pointfreeco/swift-custom-dump",
              "version": "1.3.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-custom-dump",
              "dependencies": [
                {
                  "identity": "xctest-dynamic-overlay",
                  "name": "xctest-dynamic-overlay",
                  "url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
                  "version": "1.5.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "swift-syntax",
              "name": "swift-syntax",
              "url": "https://github.com/swiftlang/swift-syntax",
              "version": "601.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/5328] Fetching accessibilitysnapshot
Fetched https://github.com/cashapp/AccessibilitySnapshot.git from cache (2.63s)
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.50s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.51s)
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.56s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.50s)
Fetching https://github.com/pointfreeco/swift-custom-dump from cache
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.43s)
Fetched https://github.com/swiftlang/swift-syntax from cache (1.56s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (2.09s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.34s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.50s)
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 601.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/cashapp/AccessibilitySnapshot.git
Working copy of https://github.com/cashapp/AccessibilitySnapshot.git resolved at master (e88ecb7)
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.18.4
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
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.1
Building package at path:  $PWD
https://github.com/cashapp/AccessibilitySnapshot.git
https://github.com/cashapp/AccessibilitySnapshot.git
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "ios-snapshot-test-case",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/uber/ios-snapshot-test-case.git"
    },
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
    }
  ],
  "manifest_display_name" : "AccessibilitySnapshot",
  "name" : "AccessibilitySnapshot",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AccessibilitySnapshot",
      "targets" : [
        "AccessibilitySnapshot"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FBSnapshotTestCase+Accessibility",
      "targets" : [
        "FBSnapshotTestCase+Accessibility",
        "FBSnapshotTestCase+Accessibility-ObjC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AccessibilitySnapshotCore",
      "targets" : [
        "AccessibilitySnapshotCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FBSnapshotTestCase_Accessibility_ObjC",
      "module_type" : "ClangTarget",
      "name" : "FBSnapshotTestCase+Accessibility-ObjC",
      "path" : "Sources/AccessibilitySnapshot/iOSSnapshotTestCase/ObjC",
      "product_dependencies" : [
        "iOSSnapshotTestCase"
      ],
      "product_memberships" : [
        "FBSnapshotTestCase+Accessibility"
      ],
      "sources" : [
        "FBSnapshotTestCase_Accessibility.m"
      ],
      "target_dependencies" : [
        "AccessibilitySnapshotCore",
        "FBSnapshotTestCase+Accessibility"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FBSnapshotTestCase_Accessibility",
      "module_type" : "SwiftTarget",
      "name" : "FBSnapshotTestCase+Accessibility",
      "path" : "Sources/AccessibilitySnapshot/iOSSnapshotTestCase/Swift",
      "product_dependencies" : [
        "iOSSnapshotTestCase"
      ],
      "product_memberships" : [
        "FBSnapshotTestCase+Accessibility"
      ],
      "sources" : [
        "ErrorMessageFactory.swift",
        "FBSnapshotTestCase+Accessibility.swift",
        "FBSnapshotTestCase+ImpreciseAccessibility.swift",
        "FBSnapshotTestCase+ObjCSupport.swift",
        "FBSnapshotTestCase+SwiftUI.swift"
      ],
      "target_dependencies" : [
        "AccessibilitySnapshotCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AccessibilitySnapshotCore_ObjC",
      "module_type" : "ClangTarget",
      "name" : "AccessibilitySnapshotCore-ObjC",
      "path" : "Sources/AccessibilitySnapshot/Core/ObjC",
      "product_memberships" : [
        "AccessibilitySnapshot",
        "FBSnapshotTestCase+Accessibility",
        "AccessibilitySnapshotCore"
      ],
      "sources" : [
        "ASAccessibilityEnabler.m",
        "UIAccessibilityStatusUtility.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AccessibilitySnapshotCore",
      "module_type" : "SwiftTarget",
      "name" : "AccessibilitySnapshotCore",
      "path" : "Sources/AccessibilitySnapshot/Core/Swift",
      "product_memberships" : [
        "AccessibilitySnapshot",
        "FBSnapshotTestCase+Accessibility",
        "AccessibilitySnapshotCore"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AccessibilitySnapshot/Core/Swift/Assets/Images.xcassets",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AccessibilitySnapshot/Core/Swift/Assets/de.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AccessibilitySnapshot/Core/Swift/Assets/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AccessibilitySnapshot/Core/Swift/Assets/ru.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ru"
            }
          }
        }
      ],
      "sources" : [
        "Classes/AccessibilityHierarchyParser.swift",
        "Classes/AccessibilitySnapshotView+PillsView.swift",
        "Classes/AccessibilitySnapshotView.swift",
        "Classes/HitTargetSnapshotUtility.swift",
        "Classes/HitTargetSnapshotView.swift",
        "Classes/SnapshotAndLegendView.swift",
        "Classes/String+Localization.swift",
        "Classes/UIAccessibility+SnapshotAdditions.swift",
        "Classes/UIApplication+FirstKeyWindow.swift",
        "Classes/UIView+ImageRendering.swift",
        "Classes/UIView+InvertColorsSnapshotting.swift"
      ],
      "target_dependencies" : [
        "AccessibilitySnapshotCore-ObjC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AccessibilitySnapshot",
      "module_type" : "SwiftTarget",
      "name" : "AccessibilitySnapshot",
      "path" : "Sources/AccessibilitySnapshot/SnapshotTesting",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "product_memberships" : [
        "AccessibilitySnapshot"
      ],
      "sources" : [
        "SnapshotTesting+Accessibility.swift",
        "SnapshotTesting+SwiftUI.swift"
      ],
      "target_dependencies" : [
        "AccessibilitySnapshotCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/23] Write sources
[4/23] Write swift-version-2F0A5646E1D333AE.txt
[5/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.
[6/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+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>
      |         ^~~~~~~~~~~~~~~
[6/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>
      |         ^~~~~~~~~~~~~~~
[6/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>
      |         ^~~~~~~~~~~~~~~
[6/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>
      |         ^~~~~~~~~~~~~~~
[6/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
[6/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
[6/23] Compiling AccessibilitySnapshotCore-ObjC ASAccessibilityEnabler.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>
      |         ^~~~~~~~~~~~~~~
/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>
      |         ^~~~~~~~~~~~~~~
[6/23] Compiling AccessibilitySnapshotCore-ObjC UIAccessibilityStatusUtility.m
[6/23] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/17] Copying Localizable.strings
[0/18] Copying Info.plist
[0/18] Copying Localizable.strings
[1/18] Write sources
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>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[4/18] 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
   17 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[4/18] Compiling AccessibilitySnapshotCore-ObjC UIAccessibilityStatusUtility.m
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>
      |         ^~~~~~~~~~~~~~~
[4/18] 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
   31 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[4/18] Compiling UIImage+Compare.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>
      |         ^~~~~~~~~~~~~~~
[4/18] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
[4/18] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
[4/18] Compiling AccessibilitySnapshotCore-ObjC ASAccessibilityEnabler.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>
      |         ^~~~~~~~~~~~~~~
[4/18] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.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>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[4/18] Compiling UIImage+Snapshot.m
[4/18] Write swift-version-2F0A5646E1D333AE.txt
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.1 macosSpm