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-4606859-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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/realm/realm-core
Fetching https://github.com/realm/realm-swift.git
[1/129130] Fetching realm-swift
[76188/364296] Fetching realm-swift, realm-core
Fetched https://github.com/realm/realm-swift.git from cache (13.09s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.28.5 (0.63s)
Fetched https://github.com/realm/realm-core from cache (19.24s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 12.5.0 (4.07s)
Creating working copy for https://github.com/realm/realm-core
Working copy of https://github.com/realm/realm-core resolved at 12.5.0
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
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMConstants.m: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/62] Compiling RLMConstants.m
[0/62] Compiling RLMObjectId.mm
[0/62] Compiling RLMCollection.mm
[0/62] Compiling RLMClassInfo.mm
[0/62] Compiling RLMBSON.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMPushClient.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMPushClient_Private.hpp:19[0/62] Compiling RLMPushClient.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMFindOptions.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMFindOptions_Private.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMFindOptions.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/62] Compiling RLMFindOptions.mm
[0/62] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
[0/62] Write sources
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.
[2/62] Compiling RLMUUID.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
[2/62] Write swift-version-24593BA9C3E375BF.txt
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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/62] Compiling RLMUtil.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/62] Compiling RLMUpdateResult.mm
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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/62] 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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/62] 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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/62] Compiling RLMUser.mm
BUILD FAILURE 5.10 linux

Build Machine: Linux 1