The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RxRealm with Swift 5.7 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.31.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RxSwiftCommunity/RxRealm.git
Reference: v5.0.7
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/RxSwiftCommunity/RxRealm
 * tag               v5.0.7     -> FETCH_HEAD
HEAD is now at 607bbee Merge pull request #209 from markusfi/main
Cloned https://github.com/RxSwiftCommunity/RxRealm.git
Revision (git rev-parse @):
607bbee57d664dfa762c87e4917c7d98cdb05e2f
SUCCESS checkout https://github.com/RxSwiftCommunity/RxRealm.git at v5.0.7
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $workDir
https://github.com/RxSwiftCommunity/RxRealm.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/realm/realm-cocoa.git
Fetching https://github.com/realm/realm-core
[1/51029] Fetching rxswift
[32660/180358] Fetching rxswift, realm-cocoa
Fetched https://github.com/ReactiveX/RxSwift.git (2.69s)
Fetching https://github.com/realm/realm-swift.git
[72425/129329] Fetching realm-cocoa
[72426/366718] Fetching realm-cocoa, realm-core
[100045/496047] Fetching realm-cocoa, realm-core, realm-swift
Fetched https://github.com/realm/realm-cocoa.git (21.29s)
Fetched https://github.com/realm/realm-swift.git (19.01s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.5.0 (3.22s)
Computing version for https://github.com/realm/realm-swift.git
Fetched https://github.com/realm/realm-core (25.38s)
Computed https://github.com/realm/realm-swift.git at 10.48.0 (1.43s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 13.26.0 (0.85s)
Creating working copy for https://github.com/realm/realm-swift.git
Working copy of https://github.com/realm/realm-swift.git resolved at 10.48.0
Creating working copy for https://github.com/realm/realm-core
Working copy of https://github.com/realm/realm-core resolved at 13.26.0
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.5.0
Building for debugging...
[0/69] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/69] Compiling Realm resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/69] Compiling RLMUpdateChecker.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/69] Compiling RLMUserAPIKey.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/69] Compiling RLMUUID.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/69] Compiling RLMUpdateResult.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/69] Compiling RLMUser.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/69] Compiling RLMUtil.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/69] Compiling RLMValue.mm
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/67] Compiling Realm resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/67] Compiling RLMValue.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/67] Compiling RLMUpdateResult.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/67] Compiling RLMUser.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/67] Compiling RLMUtil.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/67] Compiling RLMUserAPIKey.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Realm.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/67] Compiling RLMUpdateChecker.mm
BUILD FAILURE 5.7 linux

Build Machine: Linux 2