The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RealmExtensions with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EcolabCompany/RealmExtensions.git
Reference: v3.5.2
Cloned https://github.com/EcolabCompany/RealmExtensions.git into spi-builder-workspace
SUCCESS checkout https://github.com/EcolabCompany/RealmExtensions.git at v3.5.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/realm/realm-swift.git
Fetching https://github.com/realm/realm-core
[1/126740] Fetching realm-swift
[74778/343951] Fetching realm-swift, realm-core
Fetched https://github.com/realm/realm-core (18.45s)
Fetched https://github.com/realm/realm-swift.git (18.47s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.28.5 (0.53s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 12.5.0 (0.68s)
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/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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/59] Compiling RLMFindOptions.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/59] Compiling RLMUtil.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMEmbeddedObject.mm:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMEmbeddedObject.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/59] Compiling RLMValue.mm
[0/59] Compiling RLMEmbeddedObject.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMEvent.mm:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMEvent.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/59] Compiling RLMEvent.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMManagedDictionary.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMDictionary_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMDictionary_Private.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMDictionary.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/59] Compiling RLMManagedDictionary.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMEmailPasswordAuth.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMEmailPasswordAuth.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMProviderClient.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/59] Compiling RLMEmailPasswordAuth.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMManagedArray.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/59] Compiling RLMManagedArray.mm
BUILD FAILURE 5.9 linux

Build Machine: Linux 2