The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IGListKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Instagram/IGListKit.git
Reference: 4.0.0
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
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 36da201 Add link to Changelog (#1397)
Cloned https://github.com/Instagram/IGListKit.git
Revision (git rev-parse @):
36da20119ca70c0a8b46ef0acc93b3bcb5a9ea69
SUCCESS checkout https://github.com/Instagram/IGListKit.git at 4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Instagram/IGListKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
In file included from /host/spi-builder-workspace/Source/IGListDiffKit/NSString+IGListDiffable.m:8:
/host/spi-builder-workspace/Source/IGListDiffKit/NSString+IGListDiffable.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/35] Compiling NSString+IGListDiffable.m
In file included from /host/spi-builder-workspace/Source/IGListDiffKit/IGListIndexSetResult.m:8:
/host/spi-builder-workspace/Source/IGListDiffKit/IGListIndexSetResult.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/35] Compiling IGListIndexSetResult.m
In file included from /host/spi-builder-workspace/Source/IGListDiffKit/IGListMoveIndexPath.m:8:
/host/spi-builder-workspace/Source/IGListDiffKit/IGListMoveIndexPath.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/35] Compiling IGListMoveIndexPath.m
[0/35] Compiling IGListMoveIndex.m
[0/35] Compiling IGListBatchUpdateData.mm
[0/35] Compiling IGListIndexPathResult.m
In file included from /host/spi-builder-workspace/Source/IGListDiffKit/NSNumber+IGListDiffable.m:8:
/host/spi-builder-workspace/Source/IGListDiffKit/NSNumber+IGListDiffable.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/35] Compiling NSNumber+IGListDiffable.m
[0/35] Compiling IGListDiff.mm
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Source/IGListKit/Internal/UICollectionView+IGListBatchUpdateData.m:8:
/host/spi-builder-workspace/Source/IGListKit/Internal/UICollectionView+IGListBatchUpdateData.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/35] Compiling UICollectionView+IGListBatchUpdateData.m
[0/35] Compiling IGListReloadIndexPath.m
[0/35] Compiling UICollectionView+DebugDescription.m
In file included from /host/spi-builder-workspace/Source/IGListKit/Internal/UIScrollView+IGListKit.m:8:
/host/spi-builder-workspace/Source/IGListKit/Internal/UIScrollView+IGListKit.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/35] Compiling UIScrollView+IGListKit.m
[0/35] Compiling IGListSectionMap.m
[0/35] Compiling IGListSectionMap+DebugDescription.m
[0/35] Compiling UICollectionViewLayout+InteractiveReordering.m
In file included from /host/spi-builder-workspace/Source/IGListKit/Internal/IGListWorkingRangeHandler.mm:8:
/host/spi-builder-workspace/Source/IGListKit/Internal/IGListWorkingRangeHandler.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/35] Compiling IGListWorkingRangeHandler.mm
BUILD FAILURE 5.10 linux

Build Machine: Linux 1