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 (ffd51e), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 01:20:38 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/3a4oT/IGListKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/3a4oT/IGListKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ffd51e6 Enable using the invalidateLayout method in IGListCollectionViewLayout
Cloned https://github.com/3a4oT/IGListKit.git
Revision (git rev-parse @):
ffd51e6235c761b14c52ac657c69dd52ee7b321f
SUCCESS checkout https://github.com/3a4oT/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/3a4oT/IGListKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IGListKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/3a4oT/IGListKit.git
[1/12643] Fetching iglistkit
Fetched https://github.com/3a4oT/IGListKit.git from cache (1.50s)
Creating working copy for https://github.com/3a4oT/IGListKit.git
Working copy of https://github.com/3a4oT/IGListKit.git resolved at main (ffd51e6)
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/3a4oT/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/50] Write swift-version--7754E27361AE5C74.txt
[1/50] 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/50] Compiling IGListKit UIScrollView+IGListKit.m
[2/50] Compiling IGListDiffKit IGListIndexPathResult.m
[2/50] Compiling IGListDiffKit IGListMoveIndexPath.m
[2/50] Compiling IGListDiffKit IGListDiff.mm
[2/50] Compiling IGListDiffKit IGListMoveIndex.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/50] Compiling IGListKit IGListAdapter+UICollectionView.m
[2/50] Compiling IGListDiffKit IGListIndexSetResult.m
[2/50] Compiling IGListDiffKit IGListBatchUpdateData.mm
[2/50] Compiling IGListDiffKit NSNumber+IGListDiffable.m
[2/50] Compiling IGListDiffKit NSString+IGListDiffable.m
BUILD FAILURE 6.0 macosSpm