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 (a7c89c), with Swift 6.1 for Linux on 29 Jul 2025 05:22:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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.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 a7c89c2 Merge pull request #220 from ikaros-nb/main
Cloned https://github.com/RxSwiftCommunity/RxRealm.git
Revision (git rev-parse @):
a7c89c2a0ce72946a2842f1b2645d2ded84a9c69
SUCCESS checkout https://github.com/RxSwiftCommunity/RxRealm.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RxSwiftCommunity/RxRealm.git
https://github.com/RxSwiftCommunity/RxRealm.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "realm-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "20.0.2",
            "upper_bound" : "21.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/realm-swift.git"
    },
    {
      "identity" : "rxswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.5.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ReactiveX/RxSwift.git"
    }
  ],
  "manifest_display_name" : "RxRealm",
  "name" : "RxRealm",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "RxRealm",
      "targets" : [
        "RxRealm"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "RxRealmTests",
      "module_type" : "SwiftTarget",
      "name" : "RxRealmTests",
      "path" : "Tests/RxRealmTests",
      "product_dependencies" : [
        "RxSwift",
        "RxBlocking",
        "RealmSwift",
        "RxCocoa"
      ],
      "sources" : [
        "RxRealmLinkingObjectsTests.swift",
        "RxRealmListTests.swift",
        "RxRealmObjectTests.swift",
        "RxRealmOnQueueTests.swift",
        "RxRealmRealmTests.swift",
        "RxRealmResultsTests.swift",
        "RxRealmTests.swift",
        "RxRealmWriteSinks.swift",
        "TestModels.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "RxRealm"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RxRealm",
      "module_type" : "SwiftTarget",
      "name" : "RxRealm",
      "path" : "Sources",
      "product_dependencies" : [
        "RxSwift",
        "RealmSwift",
        "RxCocoa"
      ],
      "product_memberships" : [
        "RxRealm"
      ],
      "sources" : [
        "RxRealm/RealmObserver.swift",
        "RxRealm/RxRealm.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/realm/realm-swift.git
[1/52724] Fetching rxswift
[31636/184085] Fetching rxswift, realm-swift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (19.84s)
Fetched https://github.com/realm/realm-swift.git from cache (19.90s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 20.0.3 (20.58s)
Fetching https://github.com/realm/realm-core.git
[1/252496] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (30.24s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 20.1.0 (31.95s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.9.0 (3.79s)
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/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 20.1.0
Building for debugging...
[0/227] Compiling Bid bid128_mul.c
[1/227] Compiling Bid bid128_quantize.c
[2/227] Compiling Bid bid128_compare.c
[3/227] Write swift-version-24593BA9C3E375BF.txt
[4/227] Compiling Bid bid128_fma.c
[5/227] Compiling Bid bid128_div.c
[6/227] Compiling mathlimits.cc
[7/227] Compiling s2geometry s2pointregion.cc
[8/227] Compiling mathutil.cc
[9/227] Compiling s2geometry s2r2rect.cc
[10/227] Compiling s2geometry s2region.cc
[11/227] Compiling s2geometry s2polyline.cc
[12/227] Compiling s2geometry s2loop.cc
[13/227] Compiling s2geometry s2polygonbuilder.cc
[14/227] Compiling s2geometry s2polygon.cc
[15/227] Compiling s2geometry s2latlng.cc
[16/227] Compiling s2geometry s2latlngrect.cc
[17/227] Compiling s2geometry s2edgeutil.cc
[17/227] Copying PrivacyInfo.xcprivacy
[17/227] Write sources
[17/227] Copying PrivacyInfo.xcprivacy
[17/227] Write sources
[17/227] Copying PrivacyInfo.xcprivacy
[29/227] Compiling s2geometry s2edgeindex.cc
[30/371] Compiling s2geometry s2cap.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.
[31/371] Compiling RealmCoreResources resource_bundle_accessor.m
[31/371] Compiling s2geometry s1angle.cc
[31/371] Compiling s2geometry s2cell.cc
[31/371] Compiling s2geometry s2.cc
[31/371] Compiling version.cpp
[31/371] Compiling s2geometry s1interval.cc
[31/371] Compiling s2geometry s2cellid.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
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/197] Compiling s2geometry s1interval.cc
[1/197] Compiling utilities.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.
[2/197] Compiling RealmCoreResources resource_bundle_accessor.m
[2/197] Compiling uuid.cpp
[2/197] Compiling s2geometry s2.cc
[2/197] Compiling s2geometry s1angle.cc
[2/197] Compiling s2geometry s2cellid.cc
[2/197] Compiling s2geometry s2cell.cc
[2/197] Compiling version.cpp
[2/197] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux