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 Realm, reference master (d8a8c0), with Swift 6.1 for Linux on 16 Jun 2025 04:30:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/realm/realm-swift.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-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d8a8c09 Add an empty changelog section
Cloned https://github.com/realm/realm-swift.git
Revision (git rev-parse @):
d8a8c09eaaa00742315f766580640a92e78c73af
SUCCESS checkout https://github.com/realm/realm-swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/realm/realm-swift.git
https://github.com/realm/realm-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++20",
  "dependencies" : [
    {
      "identity" : "realm-core",
      "requirement" : {
        "exact" : [
          "14.14.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/realm-core.git"
    }
  ],
  "manifest_display_name" : "Realm",
  "name" : "Realm",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "Realm",
      "targets" : [
        "Realm"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "RealmSwift",
      "targets" : [
        "RealmSwift"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SwiftObjectServerTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftObjectServerTests",
      "path" : "Realm/ObjectServerTests",
      "sources" : [
        "AsyncSyncTests.swift",
        "ClientResetTests.swift",
        "CombineSyncTests.swift",
        "EventTests.swift",
        "SwiftAsymmetricSyncServerTests.swift",
        "SwiftCollectionSyncTests.swift",
        "SwiftFlexibleSyncServerTests.swift",
        "SwiftMongoClientTests.swift",
        "SwiftObjectServerPartitionTests.swift",
        "SwiftObjectServerTests.swift",
        "SwiftUIServerTests.swift"
      ],
      "target_dependencies" : [
        "RealmSwift",
        "RealmTestSupport",
        "RealmSyncTestSupport",
        "RealmSwiftSyncTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RealmTests",
      "module_type" : "ClangTarget",
      "name" : "RealmTests",
      "path" : "Realm/Tests",
      "sources" : [
        "ArrayPropertyTests.m",
        "AsyncTests.mm",
        "CompactionTests.m",
        "Decimal128Tests.m",
        "DictionaryPropertyTests.m",
        "DynamicTests.m",
        "EncryptionTests.mm",
        "EnumeratorTests.m",
        "InterprocessTests.m",
        "KVOTests.mm",
        "LinkTests.m",
        "LinkingObjectsTests.mm",
        "MigrationTests.mm",
        "NotificationTests.m",
        "ObjectCreationTests.mm",
        "ObjectIdTests.m",
        "ObjectInterfaceTests.m",
        "ObjectSchemaTests.m",
        "ObjectTests.m",
        "PerformanceTests.m",
        "PredicateUtilTests.mm",
        "PrimitiveArrayPropertyTests.m",
        "PrimitiveDictionaryPropertyTests.m",
        "PrimitiveRLMValuePropertyTests.m",
        "PrimitiveSetPropertyTests.m",
        "PropertyTests.m",
        "QueryTests.m",
        "RLMValueTests.m",
        "RealmConfigurationTests.mm",
        "RealmTests.mm",
        "ResultsTests.m",
        "SchemaTests.mm",
        "SectionedResultsTests.m",
        "SetPropertyTests.m",
        "ThreadSafeReferenceTests.m",
        "TransactionTests.m",
        "UnicodeTests.m",
        "UtilTests.mm"
      ],
      "target_dependencies" : [
        "Realm",
        "RealmTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RealmTestSupport",
      "module_type" : "ClangTarget",
      "name" : "RealmTestSupport",
      "path" : "Realm/TestUtils",
      "sources" : [
        "RLMChildProcessEnvironment.m",
        "RLMMultiProcessTestCase.m",
        "RLMTestCase.m",
        "RLMTestObjects.m",
        "TestUtils.mm"
      ],
      "target_dependencies" : [
        "Realm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RealmSyncTestSupport",
      "module_type" : "ClangTarget",
      "name" : "RealmSyncTestSupport",
      "path" : "Realm/ObjectServerTests",
      "sources" : [
        "RLMServerTestObjects.m",
        "RLMSyncTestCase.mm",
        "RLMUser+ObjectServerTests.mm",
        "RLMWatchTestUtility.m"
      ],
      "target_dependencies" : [
        "Realm",
        "RealmSwift",
        "RealmTestSupport"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RealmSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "RealmSwiftTests",
      "path" : "RealmSwift/Tests",
      "sources" : [
        "AnyRealmValueTests.swift",
        "CodableTests.swift",
        "CombineTests.swift",
        "CompactionTests.swift",
        "CustomColumnNameTests.swift",
        "CustomObjectCreationTests.swift",
        "CustomPersistableTestObjects.swift",
        "Decimal128Tests.swift",
        "GeospatialTests.swift",
        "KVOTests.swift",
        "KeyPathTests.swift",
        "ListTests.swift",
        "MapTests.swift",
        "MigrationTests.swift",
        "MixedCollectionTest.swift",
        "ModernKVOTests.swift",
        "ModernObjectAccessorTests.swift",
        "ModernObjectCreationTests.swift",
        "ModernObjectTests.swift",
        "ModernTestObjects.swift",
        "MutableSetTests.swift",
        "ObjectAccessorTests.swift",
        "ObjectCreationTests.swift",
        "ObjectCustomPropertiesTests.swift",
        "ObjectIdTests.swift",
        "ObjectSchemaInitializationTests.swift",
        "ObjectSchemaTests.swift",
        "ObjectTests.swift",
        "ObjectiveCSupportTests.swift",
        "PerformanceTests.swift",
        "PrimitiveListTests.swift",
        "PrimitiveMapTests.swift",
        "PrimitiveMutableSetTests.swift",
        "ProjectedCollectTests.swift",
        "ProjectionTests.swift",
        "PropertyTests.swift",
        "QueryTests.swift",
        "RealmCollectionTypeTests.swift",
        "RealmConfigurationTests.swift",
        "RealmPropertyTests.swift",
        "RealmTests.swift",
        "SchemaTests.swift",
        "SectionedResultsTests.swift",
        "SortDescriptorTests.swift",
        "SwiftBSONTests.swift",
        "SwiftLinkTests.swift",
        "SwiftTestObjects.swift",
        "SwiftUITests.swift",
        "SwiftUnicodeTests.swift",
        "TestCase.swift",
        "TestValueFactory.swift",
        "ThreadSafeReferenceTests.swift"
      ],
      "target_dependencies" : [
        "RealmSwift",
        "RealmTestSupport",
        "RealmSwiftTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RealmSwiftTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "RealmSwiftTestSupport",
      "path" : "RealmSwift/Tests",
      "sources" : [
        "TestUtils.swift"
      ],
      "target_dependencies" : [
        "RealmSwift",
        "RealmTestSupport"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RealmSwiftSyncTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "RealmSwiftSyncTestSupport",
      "path" : "Realm/ObjectServerTests",
      "sources" : [
        "RealmServer.swift",
        "SwiftServerObjects.swift",
        "SwiftSyncTestCase.swift",
        "TimeoutProxyServer.swift",
        "WatchTestUtility.swift"
      ],
      "target_dependencies" : [
        "RealmSwift",
        "RealmTestSupport",
        "RealmSyncTestSupport",
        "RealmSwiftTestSupport"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RealmSwift",
      "module_type" : "SwiftTarget",
      "name" : "RealmSwift",
      "path" : "RealmSwift",
      "product_memberships" : [
        "RealmSwift"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/RealmSwift/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Aliases.swift",
        "AnyRealmValue.swift",
        "App.swift",
        "AsymmetricObject.swift",
        "BSON.swift",
        "Combine.swift",
        "CustomPersistable.swift",
        "Decimal128.swift",
        "EmbeddedObject.swift",
        "Error.swift",
        "Events.swift",
        "Geospatial.swift",
        "Impl/BasicTypes.swift",
        "Impl/CollectionAccess.swift",
        "Impl/ComplexTypes.swift",
        "Impl/KeyPathStrings.swift",
        "Impl/ObjcBridgeable.swift",
        "Impl/Persistable.swift",
        "Impl/PropertyAccessors.swift",
        "Impl/RealmCollectionImpl.swift",
        "Impl/SchemaDiscovery.swift",
        "LinkingObjects.swift",
        "List.swift",
        "Map.swift",
        "Migration.swift",
        "MongoClient.swift",
        "MutableSet.swift",
        "Object.swift",
        "ObjectId.swift",
        "ObjectSchema.swift",
        "ObjectiveCSupport+AnyRealmValue.swift",
        "ObjectiveCSupport+BSON.swift",
        "ObjectiveCSupport+Sync.swift",
        "ObjectiveCSupport.swift",
        "Optional.swift",
        "PersistedProperty.swift",
        "Projection.swift",
        "Property.swift",
        "Query.swift",
        "Realm.swift",
        "RealmCollection.swift",
        "RealmConfiguration.swift",
        "RealmKeyedCollection.swift",
        "RealmProperty.swift",
        "Results.swift",
        "Schema.swift",
        "SectionedResults.swift",
        "SortDescriptor.swift",
        "SwiftUI.swift",
        "Sync.swift",
        "SyncSubscription.swift",
        "ThreadSafeReference.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "Realm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RealmObjcSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "RealmObjcSwiftTests",
      "path" : "Realm/Tests/Swift",
      "sources" : [
        "RLMSupport.swift",
        "RLMTestCaseUtils.swift",
        "SwiftArrayPropertyTests.swift",
        "SwiftArrayTests.swift",
        "SwiftDynamicTests.swift",
        "SwiftLinkTests.swift",
        "SwiftObjectInterfaceTests.swift",
        "SwiftPropertyTypeTest.swift",
        "SwiftRLMDictionaryTests.swift",
        "SwiftRealmTests.swift",
        "SwiftSchemaTests.swift",
        "SwiftSetPropertyTests.swift",
        "SwiftSetTests.swift",
        "SwiftTestObjects.swift",
        "SwiftUnicodeTests.swift"
      ],
      "target_dependencies" : [
        "Realm",
        "RealmTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Realm",
      "module_type" : "ClangTarget",
      "name" : "Realm",
      "path" : ".",
      "product_dependencies" : [
        "RealmCore"
      ],
      "product_memberships" : [
        "Realm",
        "RealmSwift"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Realm/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Realm/NSError+RLMSync.m",
        "Realm/RLMAPIKeyAuth.mm",
        "Realm/RLMAccessor.mm",
        "Realm/RLMAnalytics.mm",
        "Realm/RLMApp.mm",
        "Realm/RLMArray.mm",
        "Realm/RLMAsymmetricObject.mm",
        "Realm/RLMAsyncTask.mm",
        "Realm/RLMBSON.mm",
        "Realm/RLMClassInfo.mm",
        "Realm/RLMCollection.mm",
        "Realm/RLMConstants.m",
        "Realm/RLMCredentials.mm",
        "Realm/RLMDecimal128.mm",
        "Realm/RLMDictionary.mm",
        "Realm/RLMEmailPasswordAuth.mm",
        "Realm/RLMEmbeddedObject.mm",
        "Realm/RLMError.mm",
        "Realm/RLMEvent.mm",
        "Realm/RLMFindOneAndModifyOptions.mm",
        "Realm/RLMFindOptions.mm",
        "Realm/RLMGeospatial.mm",
        "Realm/RLMInitialSubscriptionsConfiguration.m",
        "Realm/RLMLogger.mm",
        "Realm/RLMManagedArray.mm",
        "Realm/RLMManagedDictionary.mm",
        "Realm/RLMManagedSet.mm",
        "Realm/RLMMigration.mm",
        "Realm/RLMMongoClient.mm",
        "Realm/RLMMongoCollection.mm",
        "Realm/RLMNetworkTransport.mm",
        "Realm/RLMObject.mm",
        "Realm/RLMObjectBase.mm",
        "Realm/RLMObjectId.mm",
        "Realm/RLMObjectSchema.mm",
        "Realm/RLMObjectStore.mm",
        "Realm/RLMObservation.mm",
        "Realm/RLMPredicateUtil.mm",
        "Realm/RLMProperty.mm",
        "Realm/RLMProviderClient.mm",
        "Realm/RLMPushClient.mm",
        "Realm/RLMQueryUtil.mm",
        "Realm/RLMRealm+Sync.mm",
        "Realm/RLMRealm.mm",
        "Realm/RLMRealmConfiguration.mm",
        "Realm/RLMRealmUtil.mm",
        "Realm/RLMResults.mm",
        "Realm/RLMScheduler.mm",
        "Realm/RLMSchema.mm",
        "Realm/RLMSectionedResults.mm",
        "Realm/RLMSet.mm",
        "Realm/RLMSwiftCollectionBase.mm",
        "Realm/RLMSwiftSupport.m",
        "Realm/RLMSwiftValueStorage.mm",
        "Realm/RLMSyncConfiguration.mm",
        "Realm/RLMSyncManager.mm",
        "Realm/RLMSyncSession.mm",
        "Realm/RLMSyncSubscription.mm",
        "Realm/RLMSyncUtil.mm",
        "Realm/RLMThreadSafeReference.mm",
        "Realm/RLMUUID.mm",
        "Realm/RLMUpdateChecker.mm",
        "Realm/RLMUpdateResult.mm",
        "Realm/RLMUser.mm",
        "Realm/RLMUserAPIKey.mm",
        "Realm/RLMUtil.mm",
        "Realm/RLMValue.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ObjcObjectServerTests",
      "module_type" : "ClangTarget",
      "name" : "ObjcObjectServerTests",
      "path" : "Realm/ObjectServerTests",
      "sources" : [
        "RLMAsymmetricSyncServerTests.mm",
        "RLMBSONTests.mm",
        "RLMCollectionSyncTests.mm",
        "RLMFlexibleSyncServerTests.mm",
        "RLMMongoClientTests.mm",
        "RLMObjectServerPartitionTests.mm",
        "RLMObjectServerTests.mm",
        "RLMSubscriptionTests.mm"
      ],
      "target_dependencies" : [
        "RealmSwift",
        "RealmTestSupport",
        "RealmSyncTestSupport",
        "RealmSwiftSyncTestSupport"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.10"
}
warning: 'spi-builder-workspace': ignoring target 'RealmTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'ObjcObjectServerTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:930f780586bc21db1787241f3d35e477ed11b1101cff6fb987f4f674f121f048
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/realm/realm-core.git
[1/252487] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (24.34s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (25.33s)
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
warning: 'spi-builder-workspace': ignoring target 'RealmTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'ObjcObjectServerTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': found 54 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/RealmSwift/Tests/RealmPropertyTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MapTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectAccessorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftUnicodeTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ThreadSafeReferenceTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CodableTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PerformanceTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmCollectionTypeTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MixedCollectionTest.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveMapTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/AnyRealmValueTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MutableSetTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/TestCase.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmConfigurationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/KeyPathTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PropertyTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectIdTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/QueryTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/Decimal128Tests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ListTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftLinkTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftUITests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ProjectedCollectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectSchemaTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectAccessorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectSchemaInitializationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomPersistableTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftBSONTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomColumnNameTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/KVOTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/GeospatialTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveListTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectCustomPropertiesTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ProjectionTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmSwiftTests-Info.plist
    /host/spi-builder-workspace/RealmSwift/Tests/SchemaTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SectionedResultsTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/TestValueFactory.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectiveCSupportTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernKVOTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SortDescriptorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveMutableSetTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CompactionTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MigrationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CombineTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/QueryTests.swift.gyb
Building for debugging...
In file included from /host/spi-builder-workspace/Realm/TestUtils/RLMChildProcessEnvironment.m:19:
/host/spi-builder-workspace/Realm/TestUtils/include/RLMChildProcessEnvironment.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/310] Compiling RealmTestSupport RLMChildProcessEnvironment.m
[0/310] Compiling db.cpp
In file included from /host/spi-builder-workspace/Realm/TestUtils/RLMTestCase.m:19:
/host/spi-builder-workspace/Realm/TestUtils/include/RLMTestCase.h:19:9: fatal error: 'XCTest/XCTest.h' file not found
   19 | #import <XCTest/XCTest.h>
      |         ^~~~~~~~~~~~~~~~~
[0/310] Compiling RealmTestSupport RLMTestCase.m
In file included from /host/spi-builder-workspace/Realm/TestUtils/RLMTestObjects.m:19:
In file included from /host/spi-builder-workspace/Realm/TestUtils/include/RLMTestObjects.h:19:
/host/spi-builder-workspace/include/Realm/Realm.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/310] Compiling RealmTestSupport RLMTestObjects.m
In file included from /host/spi-builder-workspace/Realm/TestUtils/RLMMultiProcessTestCase.m:19:
In file included from /host/spi-builder-workspace/Realm/TestUtils/include/RLMMultiProcessTestCase.h:19:
/host/spi-builder-workspace/Realm/TestUtils/include/RLMTestCase.h:19:9: fatal error: 'XCTest/XCTest.h' file not found
   19 | #import <XCTest/XCTest.h>
      |         ^~~~~~~~~~~~~~~~~
1[0/310] Compiling RealmTestSupport RLMMultiProcessTestCase.m
[0/310] Compiling timestamp_formatter.cpp
[0/310] Compiling decimal128.cpp
In file included from /host/spi-builder-workspace/Realm/TestUtils/TestUtils.mm:19:
/host/spi-builder-workspace/Realm/TestUtils/include/TestUtils.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/310] Compiling RealmTestSupport TestUtils.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:930f780586bc21db1787241f3d35e477ed11b1101cff6fb987f4f674f121f048
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': ignoring target 'RealmTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'ObjcObjectServerTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': found 54 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/RealmSwift/Tests/RealmPropertyTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectAccessorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernKVOTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmCollectionTypeTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftUnicodeTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MigrationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CodableTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MapTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveMutableSetTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftLinkTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SectionedResultsTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/QueryTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftBSONTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CompactionTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/Decimal128Tests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SchemaTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MutableSetTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftUITests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/TestValueFactory.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PerformanceTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/QueryTests.swift.gyb
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectSchemaTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectCustomPropertiesTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PropertyTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveListTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectiveCSupportTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomPersistableTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ProjectedCollectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmSwiftTests-Info.plist
    /host/spi-builder-workspace/RealmSwift/Tests/ModernTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomColumnNameTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ProjectionTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/GeospatialTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectIdTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/TestCase.swift
    /host/spi-builder-workspace/RealmSwift/Tests/AnyRealmValueTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ListTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SortDescriptorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MixedCollectionTest.swift
    /host/spi-builder-workspace/RealmSwift/Tests/KVOTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/KeyPathTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectAccessorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectSchemaInitializationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmConfigurationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CombineTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveMapTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ThreadSafeReferenceTests.swift
[0/1] Planning build
Building for debugging...
[0/310] Copying PrivacyInfo.xcprivacy
[0/310] Write sources
[0/310] Copying PrivacyInfo.xcprivacy
[1/310] Write sources
[6/310] Compiling mathlimits.cc
[7/310] Compiling mathutil.cc
[8/310] Write swift-version-24593BA9C3E375BF.txt
[9/310] Compiling s2geometry s2r2rect.cc
[10/310] Compiling s2geometry s2region.cc
[11/310] Compiling s2geometry s2polyline.cc
[12/310] Compiling s2geometry s2pointregion.cc
[13/310] Compiling s2geometry s2polygon.cc
[14/310] Compiling s2geometry s2latlngrect.cc
[15/310] Compiling s2geometry s2latlng.cc
[16/310] Compiling s2geometry s2polygonbuilder.cc
[17/310] Compiling s2geometry s2edgeutil.cc
[18/310] Compiling s2geometry s2loop.cc
[19/310] Compiling s2geometry s2edgeindex.cc
In file included from /host/spi-builder-workspace/Realm/TestUtils/RLMTestObjects.m:19:
In file included from /host/spi-builder-workspace/Realm/TestUtils/include/RLMTestObjects.h:19:
/host/spi-builder-workspace/include/Realm/Realm.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[20/310] Compiling RealmTestSupport RLMTestObjects.m
[20/310] Compiling s2geometry s2cap.cc
[20/310] Compiling s2geometry s1interval.cc
[20/310] Compiling s2geometry s2cellid.cc
In file included from /host/spi-builder-workspace/Realm/TestUtils/TestUtils.mm:19:
/host/spi-builder-workspace/Realm/TestUtils/include/TestUtils.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[20/310] Compiling RealmTestSupport TestUtils.mm
[20/310] Compiling s2geometry s1angle.cc
[20/310] Compiling s2geometry s2.cc
[20/310] Compiling s2geometry s2cell.cc
BUILD FAILURE 6.1 linux