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 RealmDatabase, reference master (5aeef5), with Swift 5.10 for Linux on 7 Mar 2025 14:45:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/realm/realm-core.git
Reference: master
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/realm/realm-core
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5aeef51 New changelog section to prepare for vNext
Submodule path 'src/external/sha-1': checked out 'd9ae30f34095107ece9dceb224839f0dc2f9c1c7'
Submodule path 'src/external/sha-2': checked out '0e9aebf34101c6aa89355fd76ac9cd886735dee1'
Submodule path 'test/external/catch': checked out '8ac8190e494a381072c89f5e161b92a08d98b37b'
Submodule 'src/external/sha-1' (https://github.com/clibs/sha1.git) registered for path 'src/external/sha-1'
Submodule 'src/external/sha-2' (https://github.com/kalven/sha-2.git) registered for path 'src/external/sha-2'
Submodule 'test/external/catch' (https://github.com/catchorg/Catch2.git) registered for path 'test/external/catch'
Cloning into '/host/spi-builder-workspace/src/external/sha-1'...
Cloning into '/host/spi-builder-workspace/src/external/sha-2'...
Cloning into '/host/spi-builder-workspace/test/external/catch'...
Cloned https://github.com/realm/realm-core.git
Revision (git rev-parse @):
5aeef51e905f9511de4411941f067a2e3215c2af
SUCCESS checkout https://github.com/realm/realm-core.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/realm/realm-core.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/425] Compiling Bid bid128_mul.c
[1/425] Compiling Bid bid64_to_bid128.c
[2/425] Compiling Bid bid_from_int.c
[3/425] Compiling Bid bid128_compare.c
[4/425] Write swift-version-24593BA9C3E375BF.txt
[5/425] Compiling Bid bid128_div.c
[6/425] Compiling Bid bid128_fma.c
[7/425] Compiling mathlimits.cc
[8/425] Compiling catch_get_random_seed.cpp
[9/425] Compiling catch_message.cpp
[10/425] Compiling s2geometry s2region.cc
[11/425] Compiling mathutil.cc
[12/425] Compiling s2geometry s2r2rect.cc
[13/425] Compiling s2geometry s2polyline.cc
[14/425] Compiling s2geometry s2pointregion.cc
[15/425] Compiling s2geometry s2polygon.cc
[16/425] Compiling s2geometry s2polygonbuilder.cc
[17/425] Compiling s2geometry s2loop.cc
[18/425] Compiling s2geometry s2latlng.cc
[19/425] Compiling s2geometry s2edgeutil.cc
[20/425] Compiling s2geometry s2latlngrect.cc
[21/425] Compiling s2geometry s2edgeindex.cc
[22/425] Compiling s2geometry s2cell.cc
[23/425] Compiling s2geometry s2.cc
[24/425] Compiling s2geometry s2cap.cc
[25/425] Compiling s2geometry s2cellid.cc
[26/425] Compiling s2geometry s1interval.cc
[27/425] Compiling s2geometry s1angle.cc
/host/spi-builder-workspace/src/realm/sync/noinst/server/crypto_server_apple.mm:9:10: fatal error: 'CommonCrypto/CommonDigest.h' file not found
#include <CommonCrypto/CommonDigest.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[28/425] Compiling crypto_server_apple.mm
[28/425] Compiling access_token.cpp
[28/425] Compiling access_control.cpp
[28/425] Compiling server.cpp
[28/425] Compiling server_dir.cpp
[28/425] Compiling server_file_access_cache.cpp
[28/425] Compiling RealmQueryParser keypath_mapping.cpp
[28/425] Compiling server_history.cpp
BUILD FAILURE 5.10 linux