The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RxRealm, reference main (f64bf1), with Swift 6.2 (beta) for Android on 21 Jun 2025 12:56:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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 f64bf1c Merge pull request #219 from fabianmuecke/add-observe-from-arguments
Cloned https://github.com/RxSwiftCommunity/RxRealm.git
Revision (git rev-parse @):
f64bf1c4b07612185eb0d4935b4ef9cf06679357
SUCCESS checkout https://github.com/RxSwiftCommunity/RxRealm.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/RxSwiftCommunity/RxRealm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/realm/realm-swift.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/52710] Fetching rxswift
[50603/184069] Fetching rxswift, realm-swift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (13.42s)
Fetched https://github.com/realm/realm-swift.git from cache (13.47s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.9.0 (16.00s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.54.5 (0.70s)
Fetching https://github.com/realm/realm-core.git
[1/252487] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (18.33s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (19.15s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.9.0
Creating working copy for https://github.com/realm/realm-core.git
Working copy of https://github.com/realm/realm-core.git resolved at 14.14.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.54.5
Building for debugging...
[0/304] Compiling Bid bid128_2_str_tables.c
[1/304] Compiling Bid bid128_compare.c
[1/304] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/304] Compiling Bid bid128_div.c
[4/304] Compiling Bid bid128_add.c
[5/304] Compiling mathlimits.cc
[6/304] Compiling mathutil.cc
[7/304] Compiling s2geometry s2region.cc
[8/304] Compiling s2geometry s2r2rect.cc
[9/304] Compiling s2geometry s2polyline.cc
[10/304] Compiling collection_notifications.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/impl/apple/external_commit_helper.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/impl/external_commit_helper.hpp:34:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/impl/generic/external_commit_helper.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:33:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/encrypted_file_mapping.hpp:22:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/aes_cryptor.hpp:60:10: fatal error: 'openssl/sha.h' file not found
   60 | #include <openssl/sha.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[11/304] Compiling external_commit_helper.cpp
[11/304] Compiling s2geometry s2latlng.cc
[11/304] Compiling s2geometry s2pointregion.cc
[11/304] Compiling s2geometry s2loop.cc
[11/304] Compiling s2geometry s2polygon.cc
[11/304] Compiling s2geometry s2polygonbuilder.cc
[11/304] Compiling s2geometry s2latlngrect.cc
[11/304] Compiling dictionary.cpp
BUILD FAILURE 6.2 android