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 ReactBridge, reference main (030546), with Swift 6.1 for Wasm on 30 May 2025 12:00:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ikhvorost/ReactBridge.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/ikhvorost/ReactBridge
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         wasm
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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70496] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.01s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (10.21s)
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
/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.
[16/36] Compiling ReactBridgeUtils ReactBridgeUtils.m
[16/36] Compiling _SwiftSyntaxCShims dummy.c
[16/36] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/20] 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.
[1/20] Compiling ReactBridgeUtils ReactBridgeUtils.m
[1/20] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm