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 v20.0.3 (626053), with Swift 6.1 for Linux on 16 Jun 2025 04:29:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/realm/realm-swift.git
Reference: v20.0.3
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
 * tag               v20.0.3    -> FETCH_HEAD
HEAD is now at 6260534 Release 20.0.3
Cloned https://github.com/realm/realm-swift.git
Revision (git rev-parse @):
6260534683132eb981338c7c39fd5e69205876e6
SUCCESS checkout https://github.com/realm/realm-swift.git at v20.0.3
========================================
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" : [
          "20.1.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" : "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" : "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",
        "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" : "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",
        "Combine.swift",
        "CustomPersistable.swift",
        "Decimal128.swift",
        "EmbeddedObject.swift",
        "Error.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",
        "MutableSet.swift",
        "Object.swift",
        "ObjectId.swift",
        "ObjectSchema.swift",
        "ObjectiveCSupport+AnyRealmValue.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",
        "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/RLMAccessor.mm",
        "Realm/RLMArray.mm",
        "Realm/RLMAsyncTask.mm",
        "Realm/RLMClassInfo.mm",
        "Realm/RLMCollection.mm",
        "Realm/RLMConstants.m",
        "Realm/RLMDecimal128.mm",
        "Realm/RLMDictionary.mm",
        "Realm/RLMEmbeddedObject.mm",
        "Realm/RLMError.mm",
        "Realm/RLMGeospatial.mm",
        "Realm/RLMLogger.mm",
        "Realm/RLMManagedArray.mm",
        "Realm/RLMManagedDictionary.mm",
        "Realm/RLMManagedSet.mm",
        "Realm/RLMMigration.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/RLMQueryUtil.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/RLMThreadSafeReference.mm",
        "Realm/RLMUUID.mm",
        "Realm/RLMUtil.mm",
        "Realm/RLMValue.mm"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
warning: 'spi-builder-workspace': ignoring target 'RealmTests' 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-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 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 (17.68s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 20.1.0 (20.10s)
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
warning: 'spi-builder-workspace': ignoring target 'RealmTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': found 53 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CombineTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomColumnNameTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/GeospatialTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CompactionTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmCollectionTypeTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernKVOTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveMapTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmPropertyTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PerformanceTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectSchemaInitializationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ProjectionTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftUITests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SortDescriptorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PropertyTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectSchemaTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/AnyRealmValueTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmSwiftTests-Info.plist
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectIdTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/TestCase.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmConfigurationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/Decimal128Tests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomPersistableTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/QueryTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectCustomPropertiesTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftLinkTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/QueryTests.swift.gyb
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectAccessorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectiveCSupportTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ListTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MigrationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MixedCollectionTest.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftUnicodeTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ThreadSafeReferenceTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ProjectedCollectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SectionedResultsTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveListTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/KVOTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CodableTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/TestValueFactory.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MutableSetTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectAccessorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MapTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/KeyPathTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveMutableSetTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SchemaTests.swift
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/228] Compiling RealmTestSupport RLMChildProcessEnvironment.m
[0/228] Compiling Bid bid_binarydecimal.c
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>
      |         ^~~~~~~~~~~~~~~~~
1 error generated.
[0/228] Compiling RealmTestSupport RLMTestCase.m
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/228] Compiling RealmTestSupport TestUtils.mm
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 error generated.
[0/228] Compiling RealmTestSupport RLMMultiProcessTestCase.m
[0/228] Compiling Bid bid_convert_data.c
[0/228] Compiling Bid bid_decimal_data.c
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/228] Compiling RealmTestSupport RLMTestObjects.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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': found 53 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectSchemaInitializationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MutableSetTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftUITests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmConfigurationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ProjectedCollectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PerformanceTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveListTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/GeospatialTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveMutableSetTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SectionedResultsTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectiveCSupportTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/QueryTests.swift.gyb
    /host/spi-builder-workspace/RealmSwift/Tests/KVOTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/KeyPathTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MigrationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MixedCollectionTest.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomColumnNameTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveMapTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SchemaTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/AnyRealmValueTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CombineTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CodableTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectSchemaTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectIdTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectAccessorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MapTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ListTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmPropertyTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmCollectionTypeTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CompactionTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ProjectionTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PropertyTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/QueryTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/TestCase.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectCustomPropertiesTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftUnicodeTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ThreadSafeReferenceTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomPersistableTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/TestValueFactory.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SortDescriptorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/Decimal128Tests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftLinkTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectAccessorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmSwiftTests-Info.plist
    /host/spi-builder-workspace/RealmSwift/Tests/ModernKVOTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftTestObjects.swift
[0/1] Planning build
Building for debugging...
[0/228] Copying PrivacyInfo.xcprivacy
[1/228] Write sources
[1/228] Copying PrivacyInfo.xcprivacy
[4/228] Compiling mathlimits.cc
[5/228] Compiling s2geometry s2r2rect.cc
[6/228] Compiling mathutil.cc
[7/228] Compiling s2geometry s2region.cc
[8/228] Write swift-version-24593BA9C3E375BF.txt
[9/228] Compiling s2geometry s2pointregion.cc
[10/228] Compiling s2geometry s2polyline.cc
[11/228] Compiling s2geometry s2polygonbuilder.cc
[12/228] Compiling s2geometry s2polygon.cc
[13/228] Compiling s2geometry s2latlngrect.cc
[14/228] Compiling s2geometry s2latlng.cc
[15/228] Compiling s2geometry s2edgeutil.cc
[16/228] Compiling s2geometry s2edgeindex.cc
[17/228] Compiling s2geometry s2cellid.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.
[18/228] Compiling RealmTestSupport RLMTestObjects.m
[18/228] Compiling s2geometry s2loop.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[18/228] Compiling RealmTestSupport TestUtils.mm
[18/228] Compiling s2geometry s2.cc
[18/228] Compiling s2geometry s1angle.cc
[18/228] Compiling s2geometry s2cap.cc
[18/228] Compiling s2geometry s1interval.cc
[18/228] Compiling s2geometry s2cell.cc
BUILD FAILURE 6.1 linux