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-4606859-0":/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: master
Cloned https://github.com/EcolabCompany/RealmExtensions.git into spi-builder-workspace
SUCCESS checkout https://github.com/EcolabCompany/RealmExtensions.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/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-core
Fetching https://github.com/realm/realm-swift.git
[1/126740] Fetching realm-swift
[77313/343951] Fetching realm-swift, realm-core
Fetched https://github.com/realm/realm-core (14.05s)
Fetched https://github.com/realm/realm-swift.git (14.07s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.28.5 (0.46s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 12.5.0 (0.56s)
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/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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/59] Compiling RLMBSON.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMCollection.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMCollection_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/include/Realm/RLMCollection_Private.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 RLMCollection.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/59] Compiling RLMValue.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/59] Compiling RLMArray.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMClassInfo.mm:19:
/host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMClassInfo.hpp:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/59] Compiling RLMClassInfo.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/59] Compiling RLMAccessor.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/59] Compiling RLMApp.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMAPIKeyAuth.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-swift/Realm/RLMAPIKeyAuth.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 RLMAPIKeyAuth.mm
BUILD FAILURE 5.9 linux

Build Machine: Linux 1