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 Glassfy with Swift 5.8 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/glassfy/ios-sdk.git
Reference: 1.4.2
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/glassfy/ios-sdk
 * tag               1.4.2      -> FETCH_HEAD
HEAD is now at 021aec9 Release v1.4.2
Cloned https://github.com/glassfy/ios-sdk.git
Revision (git rev-parse @):
021aec95812107d155bac96b001506078fc127f8
SUCCESS checkout https://github.com/glassfy/ios-sdk.git at 1.4.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/glassfy/ios-sdk.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
In file included from /host/spi-builder-workspace/Source/GYLogger.m:12:
/host/spi-builder-workspace/Source/GYLogger.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Source/GYCacheManager.m:8:
/host/spi-builder-workspace/Source/GYCacheManager.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Source/GYFormatter.m:8:
/host/spi-builder-workspace/Source/GYFormatter.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Source/GYError.m:8:
/host/spi-builder-workspace/Source/Public/GYError.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy GYLogger.m
[0/49] Compiling Glassfy GYError.m
[0/49] Compiling Glassfy GYFormatter.m
In file included from /host/spi-builder-workspace/Source/GYAPIPropertiesResponse.m:8:
/host/spi-builder-workspace/Source/GYAPIPropertiesResponse.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy GYAPIPropertiesResponse.m
In file included from /host/spi-builder-workspace/Source/GYInitializeOptions.m:8:
/host/spi-builder-workspace/Source/Public/GYInitializeOptions.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy GYInitializeOptions.m
In file included from /host/spi-builder-workspace/Source/GYAttributionItem.m:8:
In file included from /host/spi-builder-workspace/Source/GYAttributionItem+Private.h:8:
/host/spi-builder-workspace/Source/Public/GYAttributionItem.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy GYAttributionItem.m
[0/49] Compiling Glassfy GYCacheManager.m
In file included from /host/spi-builder-workspace/Source/GYAccountableSku.m:8:
In file included from /host/spi-builder-workspace/Source/GYAccountableSku+Private.h:8:
/host/spi-builder-workspace/Source/Public/GYAccountableSku.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy GYAccountableSku.m
BUILD FAILURE 5.8 linux