The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RealmExtensions, reference v4.0.1 (0707ec), with Swift 6.4 for Linux on 23 Sep 2026 22:36:23 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DigitalSolutionsPest/RealmExtensions.git
Reference: v4.0.1
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
 * tag               v4.0.1     -> FETCH_HEAD
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 v4.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/DigitalSolutionsPest/RealmExtensions.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/realm/realm-swift.git
[1/131849] Fetching realm-swift
Fetched https://github.com/realm/realm-swift.git (5.55s)
Computing version for https://github.com/realm/realm-swift.git
warning: 'realm-swift': /Package.swift:49:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 47 |         .iOS(.v12),
 48 |         .tvOS(.v12),
 49 |         .watchOS(.v4)
    |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 50 |     ],
 51 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/realm/realm-swift.git at 20.0.5 (5.85s)
Fetching https://github.com/realm/realm-core.git
[1/252559] Fetching realm-core
Fetched https://github.com/realm/realm-core.git (8.21s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 20.1.5 (8.53s)
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.5
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.5
warning: 'realm-swift': /host/spi-builder-workspace/.build/checkouts/realm-swift/Package.swift:49:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 47 |         .iOS(.v12),
 48 |         .tvOS(.v12),
 49 |         .watchOS(.v4)
    |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 50 |     ],
 51 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 361]
[Planning deferred tasks]
[Starting]
[66 / 297] s2geometry
[69 / 297] s2geometry
[70 / 297] s2geometry
[72 / 297] s2geometry
[73 / 297] s2geometry
[75 / 297] s2geometry
[76 / 297] s2geometry
[83 / 297] Bid
[87 / 297] Bid
[91 / 297] Bid
[95 / 297] Bid
[100 / 298] Bid
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/Objects-normal/x86_64/resource_bundle_accessor.o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/DerivedSources/resource_bundle_accessor.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/Objects-normal/x86_64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp

    /usr/bin/clang -x objective-c -target x86_64-unknown-linux-gnu -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/Objects-normal/x86_64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -include /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/DerivedSources/resource_bundle_accessor.h -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/Objects-normal/x86_64/resource_bundle_accessor.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/Objects-normal/x86_64/resource_bundle_accessor.dia -c /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/DerivedSources/resource_bundle_accessor.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/Objects-normal/x86_64/resource_bundle_accessor.o
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/Objects-normal/x86_64/dummy.o /host/spi-builder-workspace/.build/checkouts/realm-core/src/spm/dummy.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/Objects-normal/x86_64/1327f19f0bcfdca2b0edc983f55b1f87bc6668d9b41defbef7b7987f2db570ad-common-args.resp

    /usr/bin/clang -x objective-c++ -target x86_64-unknown-linux-gnu -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/Objects-normal/x86_64/1327f19f0bcfdca2b0edc983f55b1f87bc6668d9b41defbef7b7987f2db570ad-common-args.resp -include /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/DerivedSources/resource_bundle_accessor.h -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/Objects-normal/x86_64/dummy.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/Objects-normal/x86_64/dummy.dia -c /host/spi-builder-workspace/.build/checkouts/realm-core/src/spm/dummy.mm -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-linux-x86_64/RealmCoreResources-t.build/Objects-normal/x86_64/dummy.o
error: Build failed
BUILD FAILURE 6.4 linux