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 IGListKit, reference main (0ec2d5), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 00:23:44 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/Instagram/IGListKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Instagram/IGListKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0ec2d52 Disable automatic async conversion for IGListAdapter APIs
Cloned https://github.com/Instagram/IGListKit.git
Revision (git rev-parse @):
0ec2d526f35374dc0366024f8bb62aac4db1fd8d
SUCCESS checkout https://github.com/Instagram/IGListKit.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": "iglistkit",
      "name": "IGListKit",
      "url": "https://github.com/Instagram/IGListKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IGListKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Instagram/IGListKit.git
[1/23025] Fetching iglistkit
Fetched https://github.com/Instagram/IGListKit.git from cache (2.38s)
Creating working copy for https://github.com/Instagram/IGListKit.git
Working copy of https://github.com/Instagram/IGListKit.git resolved at main (0ec2d52)
warning: '.resolve-product-dependencies': dependency 'iglistkit' 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/Instagram/IGListKit.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/49] Write swift-version--7754E27361AE5C74.txt
[0/49] Write sources
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/UIScrollView+IGListKit.m:8:
/Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/UIScrollView+IGListKit.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[2/49] Compiling IGListKit UIScrollView+IGListKit.m
[2/49] Compiling IGListDiffKit IGListIndexSetResult.m
[2/49] Compiling IGListDiffKit IGListMoveIndexPath.m
[2/49] Compiling IGListKit IGListDebugger.m
[2/49] Compiling IGListDiffKit NSNumber+IGListDiffable.m
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter+UICollectionView.m:8:
/Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter+UICollectionView.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[2/49] Compiling IGListKit IGListAdapter+UICollectionView.m
[2/49] Compiling IGListDiffKit NSString+IGListDiffable.m
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter+DebugDescription.m:8:
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter+DebugDescription.h:8:
/Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/include/IGListAdapter.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[2/49] Compiling IGListDiffKit IGListMoveIndex.m
[2/49] Compiling IGListKit IGListAdapter+DebugDescription.m
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter.m:8:
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapterInternal.h:8:
/Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/include/IGListAdapter.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[2/49] Compiling IGListKit IGListAdapter.m
BUILD FAILURE 6.0 macosSpm