Build Information
Failed to build RxRealm with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.38.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RxSwiftCommunity/RxRealm.git
Reference: v5.1.0
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.1.0 -> FETCH_HEAD
HEAD is now at 267cc8b Bump version to v5.1.0
Cloned https://github.com/RxSwiftCommunity/RxRealm.git
Revision (git rev-parse @):
267cc8b587a5d5c74b57105050f9838cf20e2541
SUCCESS checkout https://github.com/RxSwiftCommunity/RxRealm.git at v5.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/RxSwiftCommunity/RxRealm.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/realm/realm-core.git
Fetching https://github.com/realm/realm-swift.git
[1/51370] Fetching rxswift
[50858/181693] Fetching rxswift, realm-swift
[95408/425840] Fetching rxswift, realm-swift, realm-core
Fetched https://github.com/ReactiveX/RxSwift.git (17.62s)
Fetched https://github.com/realm/realm-swift.git (17.66s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.7.1 (0.89s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.50.0 (0.94s)
Fetched https://github.com/realm/realm-core.git (26.78s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.6.2 (0.52s)
Creating working copy for https://github.com/realm/realm-core.git
Working copy of https://github.com/realm/realm-core.git resolved at 14.6.2
Creating working copy for https://github.com/realm/realm-swift.git
Working copy of https://github.com/realm/realm-swift.git resolved at 10.50.0
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.7.1
Building for debugging...
[0/293] Compiling Bid bid_convert_data.c
[1/293] Compiling Bid bid32_to_bid128.c
[2/293] Compiling Bid bid_decimal_data.c
[3/293] Compiling Bid bid64_to_bid128.c
[4/293] Compiling mathlimits.cc
[5/377] Compiling exceptions.cpp
[6/436] Compiling mathutil.cc
[7/436] Compiling s2geometry s2region.cc
[8/436] Compiling s2geometry s2r2rect.cc
[9/436] Compiling Bid bid_binarydecimal.c
[10/436] Compiling s2geometry s2polyline.cc
[11/436] Compiling array_blobs_big.cpp
[12/436] Compiling s2geometry s2pointregion.cc
[14/436] Emitting module RxSwift
[14/449] Compiling s2geometry s2polygonbuilder.cc
[15/456] Compiling s2geometry s2latlngrect.cc
[16/456] Compiling s2geometry s2latlng.cc
[17/456] Compiling s2geometry s2loop.cc
[18/456] Compiling s2geometry s2edgeutil.cc
[19/456] Compiling s2geometry s2polygon.cc
[20/456] Compiling s2geometry s2cell.cc
[20/456] Copying PrivacyInfo.xcprivacy
[24/456] Compiling s2geometry s2.cc
[25/456] Compiling s2geometry s2edgeindex.cc
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/RealmCoreResources.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[26/456] Compiling RealmCoreResources resource_bundle_accessor.m
[26/456] Compiling RealmCoreResources dummy.mm
[26/456] Compiling s2geometry s2cellid.cc
[26/456] Compiling version.cpp
[26/456] Compiling s2geometry s2cap.cc
[26/456] Compiling s2geometry s1interval.cc
[26/456] Compiling s2geometry s1angle.cc
[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/RealmCoreResources.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/268] Compiling RealmCoreResources resource_bundle_accessor.m
[0/268] Compiling s2geometry s2cap.cc
[0/268] Compiling s2geometry s2cellid.cc
[0/268] Compiling s2geometry s1interval.cc
[0/268] Compiling s2geometry s1angle.cc
[0/268] Compiling version.cpp
[0/268] Compiling uuid.cpp
[0/268] Compiling utilities.cpp
BUILD FAILURE 5.8 linux