The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build RealmSwiftMacro, reference 0.0.5 (803b20), with Swift 6.1 for Linux on 27 Apr 2025 20:39:21 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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/RealmSwiftMacro.git
Reference: 0.0.5
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
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 803b20c Export NotificationToken (#5)
Cloned https://github.com/fummicc1/RealmSwiftMacro.git
Revision (git rev-parse @):
803b20c4665f3783b2c665aa50de96a9b3bdb3de
SUCCESS checkout https://github.com/fummicc1/RealmSwiftMacro.git at 0.0.5
========================================
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" : "509.0.0-swift-5.9-DEVELOPMENT-SNAPSHOT-2023-04-25-b",
            "upper_bound" : "510.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "realm-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "10.42.0",
            "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" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.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-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 -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
Fetching https://github.com/apple/swift-syntax.git
[1/70233] Fetching swift-syntax
[20369/201501] Fetching swift-syntax, realm-swift
Fetched https://github.com/apple/swift-syntax.git from cache (9.33s)
Fetched https://github.com/realm/realm-swift from cache (9.47s)
Computing version for https://github.com/realm/realm-swift
Computed https://github.com/realm/realm-swift at 10.54.4 (12.28s)
Fetching https://github.com/realm/realm-core.git
[1/252481] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (14.91s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (15.62s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/realm/realm-swift
Working copy of https://github.com/realm/realm-swift resolved at 10.54.4
Building for debugging...
[0/331] Compiling Bid bid128_quantize.c
[1/331] Compiling Bid bid128_string.c
[2/331] Compiling Bid bid128_mul.c
[2/331] Compiling Bid bid128_compare.c
[4/331] Compiling Bid bid128_add.c
[5/331] Compiling Bid bid128_div.c
[6/331] Compiling Bid bid128_fma.c
[7/331] Compiling mathlimits.cc
[8/331] Compiling s2geometry s2region.cc
[9/331] Write swift-version-24593BA9C3E375BF.txt
[9/331] Compiling mathutil.cc
[11/331] Compiling s2geometry s2r2rect.cc
[12/331] Compiling s2geometry s2polyline.cc
[13/331] Compiling s2geometry s2polygonbuilder.cc
[14/331] Compiling s2geometry s2pointregion.cc
[15/331] Compiling s2geometry s2polygon.cc
[16/331] Compiling s2geometry s2latlng.cc
[17/331] Compiling s2geometry s2latlngrect.cc
[18/331] Compiling s2geometry s2loop.cc
[19/331] Compiling s2geometry s2edgeutil.cc
[20/331] Compiling group_writer.cpp
[21/331] Write sources
[25/331] Compiling s2geometry s2cap.cc
[26/331] Write sources
[34/331] Copying PrivacyInfo.xcprivacy
[36/331] Write sources
[40/331] Copying PrivacyInfo.xcprivacy
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.
[41/331] Compiling RealmCoreResources resource_bundle_accessor.m
[41/331] Compiling s2geometry s2cell.cc
[41/331] Compiling s2geometry s1angle.cc
[41/331] Compiling s2geometry s1interval.cc
[41/331] Compiling s2geometry s2cellid.cc
[41/331] Compiling s2geometry s2.cc
[41/331] Compiling s2geometry s2edgeindex.cc
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: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/291] Compiling s2geometry s2.cc
[1/291] Compiling s2geometry s1angle.cc
[2/291] Compiling s2geometry s2cell.cc
[2/291] Compiling s2geometry s1interval.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.
[4/291] Compiling RealmCoreResources resource_bundle_accessor.m
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/291] Compiling RealmCoreResources dummy.mm
[4/291] Compiling utilities.cpp
[4/291] Compiling s2geometry s2edgeindex.cc
[4/291] Compiling uuid.cpp
[4/291] Compiling version.cpp
[4/291] Compiling s2geometry s2cellid.cc
[4/291] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux