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 IGListKit, reference main (101665), with Swift 5.10 for Linux on 25 Jun 2025 06:46:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Instagram/IGListKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Instagram/IGListKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 101665d Adding missing NS_UNAVAILABLE NSCoder constructor declaration to IGListKit
Cloned https://github.com/Instagram/IGListKit.git
Revision (git rev-parse @):
101665de0992ecb773928f5858cd23c1f422c937
SUCCESS checkout https://github.com/Instagram/IGListKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Instagram/IGListKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
In file included from /host/spi-builder-workspace/spm/Sources/IGListDiffKit/NSNumber+IGListDiffable.m:8:
/host/spi-builder-workspace/spm/Sources/IGListDiffKit/include/NSNumber+IGListDiffable.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/51] Compiling IGListDiffKit NSNumber+IGListDiffable.m
In file included from /host/spi-builder-workspace/spm/Sources/IGListKit/IGListWorkingRangeHandler.mm:8:
/host/spi-builder-workspace/spm/Sources/IGListKit/IGListWorkingRangeHandler.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/51] Compiling IGListKit IGListWorkingRangeHandler.mm
In file included from /host/spi-builder-workspace/spm/Sources/IGListDiffKit/IGListMoveIndex.m:8:
/host/spi-builder-workspace/spm/Sources/IGListDiffKit/include/IGListMoveIndex.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/51] Compiling IGListDiffKit IGListMoveIndex.m
In file included from /host/spi-builder-workspace/spm/Sources/IGListDiffKit/IGListIndexPathResult.m:8:
/host/spi-builder-workspace/spm/Sources/IGListDiffKit/include/IGListIndexPathResult.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/51] Compiling IGListDiffKit IGListIndexPathResult.m
In file included from /host/spi-builder-workspace/spm/Sources/IGListDiffKit/IGListMoveIndexPath.m:8:
/host/spi-builder-workspace/spm/Sources/IGListDiffKit/include/IGListMoveIndexPath.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/51] Compiling IGListDiffKit IGListMoveIndexPath.m
In file included from /host/spi-builder-workspace/spm/Sources/IGListKit/UICollectionView+DebugDescription.m:8:
/host/spi-builder-workspace/spm/Sources/IGListKit/UICollectionView+DebugDescription.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
While building module 'IGListDiffKit' imported from /host/spi-builder-workspace/spm/Sources/IGListKit/UICollectionView+DebugDescription.m:11:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/spm/Sources/IGListDiffKit/include/IGListDiffKit.h:8:
/host/spi-builder-workspace/spm/Sources/IGListDiffKit/include/IGListCompatibility.h:8:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
[0/51] Compiling IGListKit UICollectionView+DebugDescription.m
In file included from /host/spi-builder-workspace/spm/Sources/IGListKit/IGListViewVisibilityTracker.m:8:
In file included from /host/spi-builder-workspace/spm/Sources/IGListKit/IGListViewVisibilityTrackerInternal.h:8:
/host/spi-builder-workspace/spm/Sources/IGListKit/IGListViewVisibilityTracker.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[0/51] Compiling IGListKit IGListViewVisibilityTracker.m
In file included from /host/spi-builder-workspace/spm/Sources/IGListDiffKit/IGListIndexSetResult.m:8:
/host/spi-builder-workspace/spm/Sources/IGListDiffKit/include/IGListIndexSetResult.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/51] Compiling IGListDiffKit IGListIndexSetResult.m
BUILD FAILURE 5.10 linux