The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build RxRealm with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ab77446 chore(release): 5.0.8 [skip ci]
Cloned https://github.com/RxSwiftCommunity/RxRealm.git
Revision (git rev-parse @):
ab7744695205952b59488b5d9f08acdd9a7dc70a
SUCCESS checkout https://github.com/RxSwiftCommunity/RxRealm.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
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.10-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
[19522/181693] Fetching rxswift, realm-swift
[65904/425840] Fetching rxswift, realm-swift, realm-core
Fetched https://github.com/ReactiveX/RxSwift.git from cache (23.81s)
Fetched https://github.com/realm/realm-swift.git from cache (23.87s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Fetched https://github.com/realm/realm-core.git from cache (23.88s)
Computed https://github.com/ReactiveX/RxSwift.git at 6.7.1 (0.43s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.50.0 (0.59s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.6.2 (0.59s)
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/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.7.1
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
Building for debugging...
[0/300] Compiling Bid bid128_mul.c
[1/300] Compiling Bid bid128_quantize.c
[2/300] Compiling Bid bid128_compare.c
[3/300] Compiling Bid bid128_2_str_tables.c
[4/300] Write swift-version-24593BA9C3E375BF.txt
[5/300] Compiling Bid bid128_add.c
[6/300] Compiling Bid bid128_div.c
[7/300] Compiling Bid bid128_fma.c
[8/300] Compiling mathlimits.cc
[9/300] Compiling mathutil.cc
[10/300] Compiling s2geometry s2region.cc
[11/300] Compiling s2geometry s2r2rect.cc
[12/300] Compiling s2geometry s2pointregion.cc
[13/300] Compiling s2geometry s2polyline.cc
[14/300] Compiling s2geometry s2loop.cc
[15/300] Compiling s2geometry s2polygonbuilder.cc
[16/300] Compiling s2geometry s2latlng.cc
[17/300] Compiling s2geometry s2polygon.cc
[18/300] Compiling s2geometry s2latlngrect.cc
[19/300] Compiling s2geometry s2edgeutil.cc
[20/300] Write sources
[21/380] Compiling s2geometry s2cellid.cc
[21/380] Write sources
[21/380] Copying PrivacyInfo.xcprivacy
[21/380] Write sources
[21/380] Copying PrivacyInfo.xcprivacy
[29/443] 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.
[30/443] Compiling RealmCoreResources resource_bundle_accessor.m
[30/443] Compiling version.cpp
[30/443] Compiling s2geometry s2.cc
[30/443] Compiling s2geometry s2cell.cc
[30/443] Compiling s2geometry s2cap.cc
[30/443] Compiling s2geometry s1angle.cc
[30/443] Compiling s2geometry s1interval.cc
[0/1] Planning build
Building for debugging...
[0/271] Compiling uuid.cpp
[1/271] Compiling version.cpp
[2/271] Compiling utilities.cpp
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.
[3/271] Compiling RealmCoreResources resource_bundle_accessor.m
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.
[3/271] Compiling RealmCoreResources dummy.mm
[3/271] Compiling s2geometry s2cap.cc
[3/271] Compiling s2geometry s1angle.cc
[3/271] Compiling s2geometry s2cell.cc
[3/271] Compiling s2geometry s2.cc
[3/271] Compiling s2geometry s1interval.cc
[3/271] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux