The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build iOSSnapshotTestCase, reference main (e4b811), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 16:29:03 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/uber/ios-snapshot-test-case.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/uber/ios-snapshot-test-case
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e4b8117 Update LibraryVsApplicationTestBundles.md
Cloned https://github.com/uber/ios-snapshot-test-case.git
Revision (git rev-parse @):
e4b81173e067af753a7a3f6260bfa37865799688
SUCCESS checkout https://github.com/uber/ios-snapshot-test-case.git at main
========================================
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": "ios-snapshot-test-case",
      "name": "iOSSnapshotTestCase",
      "url": "https://github.com/uber/ios-snapshot-test-case.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ios-snapshot-test-case",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/uber/ios-snapshot-test-case.git
[1/3287] Fetching ios-snapshot-test-case
Fetched https://github.com/uber/ios-snapshot-test-case.git from cache (1.09s)
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 main (e4b8117)
warning: '.resolve-product-dependencies': dependency 'ios-snapshot-test-case' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/uber/ios-snapshot-test-case.git
https://github.com/uber/ios-snapshot-test-case.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "iOSSnapshotTestCase",
  "name" : "iOSSnapshotTestCase",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "iOSSnapshotTestCase",
      "targets" : [
        "iOSSnapshotTestCase",
        "iOSSnapshotTestCaseCore"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "iOSSnapshotTestCaseTests",
      "module_type" : "ClangTarget",
      "name" : "iOSSnapshotTestCaseTests",
      "path" : "src/iOSSnapshotTestCaseTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseTests/Resources/FBSnapshotTestCaseTests-Info.plist",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseTests/Resources/rect.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseTests/Resources/rect_shade.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseTests/Resources/square-copy.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseTests/Resources/square.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseTests/Resources/square_with_pixel.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseTests/Resources/square_with_text.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FBSnapshotControllerTests.m"
      ],
      "target_dependencies" : [
        "iOSSnapshotTestCase"
      ],
      "type" : "test"
    },
    {
      "c99name" : "iOSSnapshotTestCaseCore",
      "module_type" : "ClangTarget",
      "name" : "iOSSnapshotTestCaseCore",
      "path" : "src/iOSSnapshotTestCaseCore",
      "product_memberships" : [
        "iOSSnapshotTestCase"
      ],
      "sources" : [
        "Categories/UIApplication+KeyWindow.m",
        "Categories/UIImage+Compare.m",
        "Categories/UIImage+Diff.m",
        "Categories/UIImage+Snapshot.m",
        "FBSnapshotTestCase.m",
        "FBSnapshotTestCasePlatform.m",
        "FBSnapshotTestController.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "iOSSnapshotTestCase",
      "module_type" : "SwiftTarget",
      "name" : "iOSSnapshotTestCase",
      "path" : "src/iOSSnapshotTestCase",
      "product_memberships" : [
        "iOSSnapshotTestCase"
      ],
      "sources" : [
        "SwiftSupport.swift"
      ],
      "target_dependencies" : [
        "iOSSnapshotTestCaseCore"
      ],
      "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/11] Write sources
In file included from /Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.m:11:
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[1/11] Compiling UIApplication+KeyWindow.m
[1/11] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/FBSnapshotTestCasePlatform.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[1/11] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/FBSnapshotTestController.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[1/11] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
In file included from /Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.m:32:
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
   31 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[1/11] Compiling UIImage+Diff.m
In file included from /Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.m:32:
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
   31 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[1/11] Compiling UIImage+Compare.m
In file included from /Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.m:11:
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[1/11] Compiling UIImage+Snapshot.m
[1/11] Write swift-version-2F0A5646E1D333AE.txt
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.m:32:
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
   31 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[0/10] Compiling UIImage+Compare.m
In file included from /Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.m:11:
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
In file included from /Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.m:11:
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[0/10] Compiling UIApplication+KeyWindow.m
[0/10] Compiling UIImage+Snapshot.m
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/FBSnapshotTestCasePlatform.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[0/10] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/FBSnapshotTestController.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[0/10] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
[0/10] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
In file included from /Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.m:32:
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
   31 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[0/10] Compiling UIImage+Diff.m
[0/10] Write swift-version-2F0A5646E1D333AE.txt
BUILD FAILURE 6.1 macosSpm