Build Information
Failed to build smoldot-swift, reference v0.1.0 (8fe67e
), with Swift 6.1 for Android on 29 May 2025 12:22:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finsig/smoldot-swift.git
Reference: v0.1.0
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/finsig/smoldot-swift
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 8fe67ec Fix release tag
Cloned https://github.com/finsig/smoldot-swift.git
Revision (git rev-parse @):
8fe67ecb85514cc467854c761d71be5e573794eb
SUCCESS checkout https://github.com/finsig/smoldot-swift.git at v0.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/finsig/smoldot-swift.git
https://github.com/finsig/smoldot-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "json-rpc2",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/finsig/json-rpc2"
}
],
"manifest_display_name" : "smoldot-swift",
"name" : "smoldot-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SmoldotSwift",
"targets" : [
"SmoldotSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "smoldot",
"module_type" : "BinaryTarget",
"name" : "smoldot",
"path" : "remote/archive/smoldot.xcframework.zip",
"product_memberships" : [
"SmoldotSwift"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "SmoldotSwiftTests",
"module_type" : "SwiftTarget",
"name" : "SmoldotSwiftTests",
"path" : "Tests/SmoldotSwiftTests",
"sources" : [
"SmoldotSwiftTests.swift"
],
"target_dependencies" : [
"SmoldotSwift"
],
"type" : "test"
},
{
"c99name" : "SmoldotSwift",
"module_type" : "SwiftTarget",
"name" : "SmoldotSwift",
"path" : "Sources/SmoldotSwift",
"product_dependencies" : [
"JSONRPC2"
],
"product_memberships" : [
"SmoldotSwift"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/SmoldotSwift/Resources/kusama.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SmoldotSwift/Resources/polkadot.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SmoldotSwift/Resources/rococo.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SmoldotSwift/Resources/westend.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Chain+Resources.swift",
"Chain+Specification.swift",
"Chain.swift",
"Client.swift",
"ClientError.swift",
"JSONObject.swift",
"JSONRPC2Request.swift",
"SmoldotSwift.swift"
],
"target_dependencies" : [
"CSmoldot"
],
"type" : "library"
},
{
"c99name" : "CSmoldot",
"module_type" : "ClangTarget",
"name" : "CSmoldot",
"path" : "Sources/CSmoldot",
"product_memberships" : [
"SmoldotSwift"
],
"sources" : [
"bridge.c"
],
"target_dependencies" : [
"smoldot"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/finsig/json-rpc2
[1/42] Fetching json-rpc2
Fetched https://github.com/finsig/json-rpc2 from cache (0.23s)
Computing version for https://github.com/finsig/json-rpc2
Computed https://github.com/finsig/json-rpc2 at 0.1.1 (4.66s)
Fetching https://github.com/finsig/json
[1/26] Fetching json
Fetched https://github.com/finsig/json from cache (0.29s)
Computing version for https://github.com/finsig/json
Computed https://github.com/finsig/json at 0.1.0 (1.40s)
Creating working copy for https://github.com/finsig/json-rpc2
Working copy of https://github.com/finsig/json-rpc2 resolved at 0.1.1
Creating working copy for https://github.com/finsig/json
Working copy of https://github.com/finsig/json resolved at 0.1.0
Downloading binary artifact https://github.com/finsig/smoldot-swift/releases/download/v0.1.0/smoldot.xcframework.zip
[1369/65790399] Downloading https://github.com/finsig/smoldot-swift/releases/download/v0.1.0/smoldot.xcframework.zip
Downloaded https://github.com/finsig/smoldot-swift/releases/download/v0.1.0/smoldot.xcframework.zip (6.41s)
Building for debugging...
[0/9] Write sources
[3/9] Copying rococo.json
[4/9] Copying kusama.json
[5/9] Copying westend.json
[6/9] Copying polkadot.json
In file included from /host/spi-builder-workspace/Sources/CSmoldot/bridge.c:18:
/host/spi-builder-workspace/Sources/CSmoldot/include/bridge.h:21:10: fatal error: 'smoldot.h' file not found
21 | #include "smoldot.h"
| ^~~~~~~~~~~
1 error generated.
[7/9] Compiling CSmoldot bridge.c
[7/9] 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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CSmoldot/bridge.c:18:
/host/spi-builder-workspace/Sources/CSmoldot/include/bridge.h:21:10: fatal error: 'smoldot.h' file not found
21 | #include "smoldot.h"
| ^~~~~~~~~~~
1 error generated.
[0/2] Compiling CSmoldot bridge.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android