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 ReactBridge, reference 1.4.1 (030546), with Swift 6.1 for Linux on 30 Apr 2025 19:01:38 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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ikhvorost/ReactBridge.git
Reference: 1.4.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/ikhvorost/ReactBridge
 * tag               1.4.1      -> FETCH_HEAD
HEAD is now at 030546f Registering modules changes
Cloned https://github.com/ikhvorost/ReactBridge.git
Revision (git rev-parse @):
030546fa672a275c164500025eed0f07e438f70f
SUCCESS checkout https://github.com/ikhvorost/ReactBridge.git at 1.4.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ikhvorost/ReactBridge.git
https://github.com/ikhvorost/ReactBridge.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.1",
            "upper_bound" : "601.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "ReactBridge",
  "name" : "ReactBridge",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "ReactBridge",
      "targets" : [
        "ReactBridge"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ReactBridgeMacros",
      "targets" : [
        "ReactBridgeMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "ReactBridgeUtils",
      "module_type" : "ClangTarget",
      "name" : "ReactBridgeUtils",
      "path" : "Sources/ReactBridgeUtils",
      "product_memberships" : [
        "ReactBridge"
      ],
      "sources" : [
        "ReactBridgeUtils.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ReactBridgeTests",
      "module_type" : "SwiftTarget",
      "name" : "ReactBridgeTests",
      "path" : "Tests/ReactBridgeTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "ReactBridgeTests.swift",
        "SandboxTests.swift"
      ],
      "target_dependencies" : [
        "ReactBridgeMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ReactBridgeMacros",
      "module_type" : "SwiftTarget",
      "name" : "ReactBridgeMacros",
      "path" : "Sources/ReactBridgeMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "ReactBridge",
        "ReactBridgeMacros"
      ],
      "sources" : [
        "ErrorMessage.swift",
        "Extensions/AttributeSyntax.swift",
        "Extensions/ExprSyntax.swift",
        "Extensions/TypeSyntax.swift",
        "ObjcType.swift",
        "ReactBridgeMacros.swift",
        "ReactMethod.swift",
        "ReactModule.swift",
        "ReactProperty.swift",
        "ReactView.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "ReactBridge",
      "module_type" : "SwiftTarget",
      "name" : "ReactBridge",
      "path" : "Sources/ReactBridge",
      "product_memberships" : [
        "ReactBridge"
      ],
      "sources" : [
        "ReactBridge.swift"
      ],
      "target_dependencies" : [
        "ReactBridgeMacros",
        "ReactBridgeUtils"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70291] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.79s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (6.78s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Building for debugging...
[0/36] Write sources
[16/36] Compiling _SwiftSyntaxCShims dummy.c
/host/spi-builder-workspace/Sources/ReactBridgeUtils/ReactBridgeUtils.m:26:9: fatal error: 'objc/runtime.h' file not found
   26 | #import <objc/runtime.h>
      |         ^~~~~~~~~~~~~~~~
1 error generated.
[17/36] Compiling ReactBridgeUtils ReactBridgeUtils.m
[17/36] Write swift-version-24593BA9C3E375BF.txt
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...
/host/spi-builder-workspace/Sources/ReactBridgeUtils/ReactBridgeUtils.m:26:9: fatal error: 'objc/runtime.h' file not found
   26 | #import <objc/runtime.h>
      |         ^~~~~~~~~~~~~~~~
1 error generated.
[0/19] Compiling ReactBridgeUtils ReactBridgeUtils.m
[0/19] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux