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-1":/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: 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.10
Building package at path:  $workDir
https://github.com/RxSwiftCommunity/RxRealm.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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/realm/realm-core.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/realm/realm-swift.git
[1/51370] Fetching rxswift
[46748/181693] Fetching rxswift, realm-swift
[79770/425840] Fetching rxswift, realm-swift, realm-core
Fetched https://github.com/realm/realm-swift.git from cache (20.18s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (20.21s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Fetched https://github.com/realm/realm-core.git from cache (20.27s)
Computed https://github.com/ReactiveX/RxSwift.git at 6.7.1 (3.95s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.50.0 (0.60s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.6.2 (1.01s)
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
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
Building for debugging...
[0/300] Compiling Bid bid128_compare.c
[1/300] Compiling mathlimits.cc
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/sha_crypto.cpp:32:10: fatal error: 'sha1.h' file not found
#include <sha1.h>
         ^~~~~~~~
1 error generated.
[2/300] Compiling sha_crypto.cpp
[2/300] Compiling mathutil.cc
[2/300] Compiling s2geometry s2r2rect.cc
[2/300] Write swift-version-24593BA9C3E375BF.txt
[2/300] Compiling alloc_slab.cpp
[2/300] Compiling s2geometry s2polygonbuilder.cc
[2/300] Compiling s2geometry s2polyline.cc
[2/300] Compiling s2geometry s2region.cc
[0/1] Planning build
Building for debugging...
[0/298] Write sources
[0/298] Copying PrivacyInfo.xcprivacy
[0/298] Write sources
[3/298] Write swift-version-24593BA9C3E375BF.txt
[4/298] Compiling s2geometry s2region.cc
[5/298] Compiling mathutil.cc
[6/298] Compiling s2geometry s2pointregion.cc
[7/298] Compiling s2geometry s2r2rect.cc
[8/298] Compiling s2geometry s2polyline.cc
[9/298] Compiling s2geometry s2polygonbuilder.cc
[10/298] Compiling s2geometry s2polygon.cc
[11/298] Compiling s2geometry s2latlng.cc
[12/298] Compiling s2geometry s2edgeutil.cc
[13/298] Compiling s2geometry s2latlngrect.cc
[14/298] Compiling s2geometry s2edgeindex.cc
[14/298] Write sources
[14/298] Copying PrivacyInfo.xcprivacy
[14/298] Write sources
[14/298] Copying PrivacyInfo.xcprivacy
[20/298] Compiling s2geometry s2loop.cc
[21/298] Compiling s2geometry s2cellid.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.
[22/298] Compiling RealmCoreResources resource_bundle_accessor.m
[22/298] Compiling version.cpp
[22/298] Compiling s2geometry s1angle.cc
[22/298] Compiling s2geometry s2cap.cc
[22/298] Compiling s2geometry s1interval.cc
[22/298] Compiling s2geometry s2cell.cc
[22/298] Compiling s2geometry s2.cc
BUILD FAILURE 5.10 linux