The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RealmExtensions, reference master (0707ec), with Swift 6.1 for Linux on 27 Jan 2026 19:51:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DigitalSolutionsPest/RealmExtensions.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/DigitalSolutionsPest/RealmExtensions
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0707ec2 Fix stack overflow when chaining many RealmTransactions
Cloned https://github.com/DigitalSolutionsPest/RealmExtensions.git
Revision (git rev-parse @):
0707ec293cabefd647fcdca531c0aed1f3a3cc28
SUCCESS checkout https://github.com/DigitalSolutionsPest/RealmExtensions.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/DigitalSolutionsPest/RealmExtensions.git
https://github.com/DigitalSolutionsPest/RealmExtensions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "realm-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "20.0.1",
            "upper_bound" : "21.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/realm-swift.git"
    }
  ],
  "manifest_display_name" : "RealmExtensions",
  "name" : "RealmExtensions",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "RealmExtensions",
      "targets" : [
        "RealmExtensions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RealmExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "RealmExtensionsTests",
      "path" : "Tests/RealmExtensionsTests",
      "sources" : [
        "RealmTestCase.swift",
        "RealmTransactionTests.swift",
        "UnmangedTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "RealmExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RealmExtensions",
      "module_type" : "SwiftTarget",
      "name" : "RealmExtensions",
      "path" : "Sources/RealmExtensions",
      "product_dependencies" : [
        "RealmSwift"
      ],
      "product_memberships" : [
        "RealmExtensions"
      ],
      "sources" : [
        "ChainWrite.swift",
        "ObjectChangeExtensions.swift",
        "RealmCollectionChangeExtensions.swift",
        "RealmTransaction.swift",
        "RealmTransactionComposition.swift",
        "Unmanaged.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/realm/realm-swift.git
[1/131657] Fetching realm-swift
Fetched https://github.com/realm/realm-swift.git from cache (12.97s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 20.0.3 (13.78s)
Fetching https://github.com/realm/realm-core.git
[1/252489] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (25.10s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 20.1.0 (26.24s)
Creating working copy for https://github.com/realm/realm-swift.git
Working copy of https://github.com/realm/realm-swift.git resolved at 20.0.3
Creating working copy for https://github.com/realm/realm-core.git
Working copy of https://github.com/realm/realm-core.git resolved at 20.1.0
Building for debugging...
[0/221] Write sources
[1/221] Compiling mathlimits.cc
[2/221] Compiling array_blob.cpp
[3/221] Write swift-version-24593BA9C3E375BF.txt
[4/221] Compiling mathutil.cc
[5/221] Compiling s2geometry s2region.cc
[6/221] Compiling array_blobs_big.cpp
[7/221] Compiling array_binary.cpp
[8/221] Compiling alloc.cpp
[9/221] Compiling s2geometry s2r2rect.cc
[10/221] Compiling s2geometry s2polyline.cc
[11/221] Compiling s2geometry s2pointregion.cc
[12/221] Compiling s2geometry s2loop.cc
[13/221] Compiling s2geometry s2polygonbuilder.cc
[14/221] Compiling s2geometry s2latlngrect.cc
[15/221] Compiling s2geometry s2polygon.cc
[16/221] Compiling s2geometry s2latlng.cc
[17/221] Compiling s2geometry s2edgeutil.cc
[18/221] Compiling array_backlink.cpp
[18/221] Copying PrivacyInfo.xcprivacy
[18/221] Write sources
[18/221] Copying PrivacyInfo.xcprivacy
[23/221] 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:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[24/221] Compiling RealmCoreResources resource_bundle_accessor.m
[24/221] Compiling s2geometry s2cap.cc
[24/221] Compiling s2geometry s1angle.cc
[24/221] Compiling s2geometry s2cell.cc
[24/221] Compiling version.cpp
[24/221] Compiling s2geometry s2edgeindex.cc
[24/221] Compiling s2geometry s1interval.cc
[24/221] Compiling s2geometry s2.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/198] Compiling version.cpp
[1/198] Compiling s2geometry s1angle.cc
[2/198] Compiling uuid.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:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/198] Compiling RealmCoreResources resource_bundle_accessor.m
[3/198] Compiling RealmCoreResources dummy.mm
[3/198] Compiling s2geometry s1interval.cc
[3/198] Compiling s2geometry s2.cc
[3/198] Compiling s2geometry s2cap.cc
[3/198] Compiling s2geometry s2cell.cc
[3/198] Compiling s2geometry s2edgeindex.cc
[3/198] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux