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 RealmDatabase, reference v20.1.2 (3aba88), with Swift 5.9 for Linux on 7 Jan 2025 12:27:03 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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/realm/realm-core.git
Reference: v20.1.2
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
 * tag               v20.1.2    -> FETCH_HEAD
HEAD is now at 3aba889 Prepare for release 20.1.2
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 @):
3aba889bd9c93c91ea7906b9ec4b60a5c5dcab45
SUCCESS checkout https://github.com/realm/realm-core.git at v20.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[0/340] Compiling Bid bid128_2_str_tables.c
[1/340] Compiling Bid bid128_compare.c
[2/340] Compiling Bid bid128.c
[3/340] Compiling Bid bid128_add.c
[4/340] Compiling mathlimits.cc
[5/340] Compiling s2geometry s2region.cc
[6/340] Compiling s2geometry s2r2rect.cc
[7/340] Compiling mathutil.cc
[8/340] Compiling s2geometry s2pointregion.cc
[9/340] Compiling s2geometry s2polyline.cc
[10/340] Compiling s2geometry s2loop.cc
[11/340] Compiling s2geometry s2polygon.cc
[12/340] Compiling s2geometry s2latlng.cc
[13/340] Compiling s2geometry s2polygonbuilder.cc
[14/340] Compiling s2geometry s2edgeutil.cc
[15/340] Compiling s2geometry s2latlngrect.cc
[16/340] Compiling s2geometry s2cellid.cc
[17/340] Compiling s2geometry s2edgeindex.cc
[18/340] Compiling s2geometry s2cell.cc
[19/340] Compiling s2geometry s2cap.cc
[20/340] Copying PrivacyInfo.xcprivacy
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.
[21/340] Compiling RealmCoreResources resource_bundle_accessor.m
[21/340] Compiling RealmQueryParser driver.cpp
[21/340] Compiling query_flex.cpp
[21/340] Compiling s2geometry s2.cc
[21/340] Compiling query_bison.cpp
[21/340] Compiling RealmQueryParser keypath_mapping.cpp
[21/340] Compiling s2geometry s1interval.cc
[21/340] Compiling s2geometry s1angle.cc
BUILD FAILURE 5.9 linux