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 RealmSwiftMacro, reference main (b98237), with Swift 6.1 for Linux on 5 Dec 2025 08:08:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/RealmSwiftMacro.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/fummicc1/RealmSwiftMacro
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b982377 Fix data-race issue (#7)
Cloned https://github.com/fummicc1/RealmSwiftMacro.git
Revision (git rev-parse @):
b9823777b9a41c60e853e10157fb76c9889422ed
SUCCESS checkout https://github.com/fummicc1/RealmSwiftMacro.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fummicc1/RealmSwiftMacro.git
https://github.com/fummicc1/RealmSwiftMacro.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "602.0.0",
            "upper_bound" : "603.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "realm-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "10.54.6",
            "upper_bound" : "11.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/realm-swift"
    }
  ],
  "manifest_display_name" : "RealmSwiftMacro",
  "name" : "RealmSwiftMacro",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "RealmSwiftMacro",
      "targets" : [
        "RealmSwiftMacro"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RealmSwiftMacroClient",
      "targets" : [
        "RealmSwiftMacroClient"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "RealmSwiftMacroMacros",
      "targets" : [
        "RealmSwiftMacroMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RealmSwiftMacroTests",
      "module_type" : "SwiftTarget",
      "name" : "RealmSwiftMacroTests",
      "path" : "Tests/RealmSwiftMacroTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "RealmSwiftMacroTests.swift"
      ],
      "target_dependencies" : [
        "RealmSwiftMacroMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RealmSwiftMacroMacros",
      "module_type" : "SwiftTarget",
      "name" : "RealmSwiftMacroMacros",
      "path" : "Sources/RealmSwiftMacroMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "RealmSwiftMacro",
        "RealmSwiftMacroClient",
        "RealmSwiftMacroMacros"
      ],
      "sources" : [
        "RealmModelMacro.swift",
        "RealmSwiftMacroMacro.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "RealmSwiftMacroClient",
      "module_type" : "SwiftTarget",
      "name" : "RealmSwiftMacroClient",
      "path" : "Sources/RealmSwiftMacroClient",
      "product_dependencies" : [
        "RealmSwift"
      ],
      "product_memberships" : [
        "RealmSwiftMacroClient"
      ],
      "sources" : [
        "SNS.swift",
        "Todo.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "RealmSwiftMacro"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "RealmSwiftMacro",
      "module_type" : "SwiftTarget",
      "name" : "RealmSwiftMacro",
      "path" : "Sources/RealmSwiftMacro",
      "product_dependencies" : [
        "RealmSwift"
      ],
      "product_memberships" : [
        "RealmSwiftMacro",
        "RealmSwiftMacroClient"
      ],
      "sources" : [
        "RealmSwiftMacro.swift"
      ],
      "target_dependencies" : [
        "RealmSwiftMacroMacros"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/realm/realm-swift
[1/131649] Fetching realm-swift
[127701/204664] Fetching realm-swift, swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (15.84s)
Fetched https://github.com/realm/realm-swift from cache (16.06s)
Computing version for https://github.com/realm/realm-swift
Computed https://github.com/realm/realm-swift at 10.54.6 (21.05s)
Fetching https://github.com/realm/realm-core.git
[1/252494] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (24.02s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (24.91s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (1.13s)
Creating working copy for https://github.com/realm/realm-swift
Working copy of https://github.com/realm/realm-swift resolved at 10.54.6
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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 602.0.0
Building for debugging...
[0/340] Compiling Bid bid128_mul.c
[1/340] Compiling Bid bid128_quantize.c
[2/340] Compiling Bid bid128_2_str_tables.c
[3/340] Compiling Bid bid128.c
[4/340] Compiling Bid bid128_compare.c
[5/340] Compiling Bid bid128_add.c
[6/340] Compiling Bid bid128_fma.c
[7/340] Compiling Bid bid128_div.c
[8/340] Compiling mathlimits.cc
[9/340] Compiling mathutil.cc
[10/340] Write swift-version-24593BA9C3E375BF.txt
[11/340] Compiling s2geometry s2region.cc
[12/340] Compiling s2geometry s2r2rect.cc
[13/340] Compiling s2geometry s2pointregion.cc
[14/340] Compiling s2geometry s2polyline.cc
[15/340] Compiling s2geometry s2polygonbuilder.cc
[16/340] Compiling s2geometry s2latlng.cc
[17/340] Compiling s2geometry s2polygon.cc
[18/340] Compiling s2geometry s2latlngrect.cc
[19/340] Compiling s2geometry s2edgeutil.cc
[20/340] Compiling s2geometry s2loop.cc
[21/340] Compiling _SwiftSyntaxCShims PlatformMutex.c
[22/340] Write sources
[26/342] Compiling s2geometry s2edgeindex.cc
[26/342] Write sources
[26/342] Copying PrivacyInfo.xcprivacy
[26/342] Write sources
[27/342] Copying PrivacyInfo.xcprivacy
[46/342] Compiling s2geometry s2cell.cc
[47/342] Compiling s2geometry s2cellid.cc
[48/346] Compiling s2geometry s1interval.cc
[49/346] Compiling s2geometry s2cap.cc
[51/350] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/350] Compiling s2geometry s1angle.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.
[52/350] Compiling RealmCoreResources resource_bundle_accessor.m
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/350] Compiling version.cpp
[53/350] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/350] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/350] Compiling s2geometry s2.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
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/290] Compiling timestamp_formatter.cpp
[1/290] Compiling uri.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/290] Compiling RealmCoreResources resource_bundle_accessor.m
[2/290] Compiling uuid.cpp
[2/290] Compiling version.cpp
[2/290] Compiling s2geometry s2.cc
[2/290] Compiling to_string.cpp
[2/290] Compiling timestamp_logger.cpp
[2/290] Compiling utilities.cpp
[2/290] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux