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.1 for Linux on 7 May 2025 06:14:01 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.61.3
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:         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" : "10.21.1",
            "upper_bound" : "11.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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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
Fetching https://github.com/ReactiveX/RxSwift.git
[1/52683] Fetching rxswift
[44782/183951] Fetching rxswift, realm-swift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.05s)
[127653/131268] Fetching realm-swift
Fetched https://github.com/realm/realm-swift.git from cache (11.02s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.9.0 (11.56s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.54.4 (0.76s)
Fetching https://github.com/realm/realm-core.git
[1/252481] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (16.90s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (17.64s)
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.4
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.9.0
Building for debugging...
[0/304] Compiling Bid bid_decimal_globals.c
[1/304] Compiling Bid bid128_mul.c
[2/304] Compiling Bid bid_convert_data.c
[3/304] Compiling Bid bid_from_int.c
[4/304] Compiling Bid bid_decimal_data.c
[5/304] Compiling Bid bid128_div.c
[6/304] Compiling Bid bid128_fma.c
[7/304] Compiling mathlimits.cc
[8/304] Compiling s2geometry s2region.cc
[9/304] Write swift-version-24593BA9C3E375BF.txt
[10/304] Compiling mathutil.cc
[11/304] Compiling s2geometry s2r2rect.cc
[12/304] Compiling collection_notifications.cpp
[13/304] Compiling s2geometry s2polyline.cc
[14/304] Compiling s2geometry s2polygonbuilder.cc
[15/304] Compiling s2geometry s2polygon.cc
[16/304] Compiling s2geometry s2pointregion.cc
[17/304] Compiling s2geometry s2latlng.cc
[18/304] Compiling s2geometry s2latlngrect.cc
[19/304] Compiling s2geometry s2loop.cc
[20/304] Compiling s2geometry s2edgeindex.cc
[21/304] Copying PrivacyInfo.xcprivacy
[24/304] Write sources
[28/402] Compiling s2geometry s2edgeutil.cc
[28/402] Copying PrivacyInfo.xcprivacy
[28/402] Write sources
[28/402] Copying PrivacyInfo.xcprivacy
[33/448] Compiling s2geometry s2cellid.cc
[34/448] Compiling s2geometry s2cell.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.
[35/448] Compiling RealmCoreResources resource_bundle_accessor.m
[35/448] Compiling s2geometry s1interval.cc
[35/448] Compiling uuid.cpp
[35/448] Compiling s2geometry s2cap.cc
[35/448] Compiling s2geometry s1angle.cc
[35/448] Compiling version.cpp
[35/448] Compiling s2geometry s2.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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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/270] Compiling uuid.cpp
[1/270] Compiling utilities.cpp
[2/270] Compiling version.cpp
[3/270] Write swift-version-24593BA9C3E375BF.txt
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.
[4/270] Compiling RealmCoreResources dummy.mm
[4/270] Compiling s2geometry s1interval.cc
[4/270] Compiling s2geometry s2.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[4/270] Compiling RealmCoreResources resource_bundle_accessor.m
[4/270] Compiling to_string.cpp
[4/270] Compiling s2geometry s1angle.cc
[4/270] Compiling uri.cpp
[4/270] Compiling s2geometry s2cap.cc
BUILD FAILURE 6.1 linux