The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RealmExtensions with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/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/EcolabCompany/RealmExtensions.git
Reference: v3.5.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/EcolabCompany/RealmExtensions
 * tag               v3.5.2     -> FETCH_HEAD
HEAD is now at 806cabe formatting
Cloned https://github.com/EcolabCompany/RealmExtensions.git
Revision (git rev-parse @):
806cabe72ff29bdcb06701e15f9094095a543ca5
SUCCESS checkout https://github.com/EcolabCompany/RealmExtensions.git at v3.5.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/EcolabCompany/RealmExtensions.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/realm/realm-swift.git
Fetching https://github.com/realm/realm-core
[1/129130] Fetching realm-swift
[41323/364296] Fetching realm-swift, realm-core
Fetched https://github.com/realm/realm-core from cache (22.17s)
Fetched https://github.com/realm/realm-swift.git from cache (22.19s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.28.5 (0.67s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 12.5.0 (0.77s)
Creating working copy for https://github.com/realm/realm-swift.git
Working copy of https://github.com/realm/realm-swift.git resolved at 10.28.5
Creating working copy for https://github.com/realm/realm-core
Working copy of https://github.com/realm/realm-core resolved at 12.5.0
Building for debugging...
[0/62] Write sources
/host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMAnalytics.mm:57:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/62] Compiling RLMAnalytics.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMApp.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMApp_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMApp_Private.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMApp.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/62] Compiling RLMApp.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMValue.mm:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMValue.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/62] Compiling RLMValue.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMAccessor.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMAccessor.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMAccessor.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/62] Compiling RLMAccessor.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMArray.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMArray_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMArray_Private.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMArray.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMCollection.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/62] Compiling RLMArray.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMBSON.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMBSON_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMBSON.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMObjectId.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/62] Compiling RLMBSON.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMSwiftSupport.m:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMSwiftSupport.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/62] Compiling RLMSwiftSupport.m
[2/62] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMUUID.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMUUID_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMProperty.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMConstants.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/60] Compiling RLMUUID.mm
[0/60] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMUserAPIKey.mm:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMUserAPIKey.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/60] Compiling RLMUserAPIKey.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMUpdateChecker.mm:21:
/host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMRealm.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/60] Compiling RLMUpdateChecker.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMUser.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMUser_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMUser_Private.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMUser.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/60] Compiling RLMUser.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMUtil.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMUtil.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMConstants.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMValue.mm:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMValue.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/60] Compiling RLMUtil.mm
[0/60] Compiling RLMValue.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMUpdateResult.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMUpdateResult_Private.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMUpdateResult.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/60] Compiling RLMUpdateResult.mm
BUILD FAILURE 5.10 linux

Build Machine: Linux 2