Build Information
Failed to build ReactBridge, reference main (030546
), with Swift 6.0 for Linux on 4 Mar 2025 17:05:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.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: linux
Swift version: 6.0
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/68719] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.95s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (2.35s)
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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0 linux