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 (57b023), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 00:10:05 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/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 57b023c Adds link to XCTest in objc_library rule (#180)
Cloned https://github.com/uber/ios-snapshot-test-case.git
Revision (git rev-parse @):
57b023c8bb3df361e2fae01532cd066ec0b65d2e
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/3273] Fetching ios-snapshot-test-case
Fetched https://github.com/uber/ios-snapshot-test-case.git from cache (1.23s)
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 (57b023c)
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.0
Building package at path:  $PWD
https://github.com/uber/ios-snapshot-test-case.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/11] Write sources
[1/11] Write swift-version--7754E27361AE5C74.txt
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.
[2/11] Compiling UIApplication+KeyWindow.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>
      |         ^~~~~~~~~~~~~~~
[2/11] Compiling UIImage+Compare.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>
      |         ^~~~~~~~~~~~~~~
[2/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>
      |         ^~~~~~~~~~~~~~~
[2/11] Compiling UIImage+Diff.m
[2/11] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.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>
      |         ^~~~~~~~~~~~~~~
[2/11] 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>
      |         ^~~~~~~~~~~~~~~
[2/11] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
BUILD FAILURE 6.0 macosSpm