Build Information
Failed to build SMCKit, reference v1.1.0 (53fc7a), with Swift 6.1 for Wasm on 5 Jan 2026 05:34:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/srimanachanta/SMCKit.git
Reference: v1.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/srimanachanta/SMCKit
* tag v1.1.0 -> FETCH_HEAD
HEAD is now at 53fc7a6 Update README.md
Cloned https://github.com/srimanachanta/SMCKit.git
Revision (git rev-parse @):
53fc7a6e35a897b1658a7ef0f98ed1710fe46723
SUCCESS checkout https://github.com/srimanachanta/SMCKit.git at v1.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/srimanachanta/SMCKit.git
https://github.com/srimanachanta/SMCKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SMCKit",
"name" : "SMCKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SMC",
"targets" : [
"SMC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SMCKit",
"targets" : [
"SMCKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SMCKit",
"module_type" : "SwiftTarget",
"name" : "SMCKit",
"path" : "Sources/SMCKit",
"product_memberships" : [
"SMCKit"
],
"sources" : [
"SMCKit+Error.swift",
"SMCKit+Types.swift",
"SMCKit.swift"
],
"target_dependencies" : [
"SMC"
],
"type" : "library"
},
{
"c99name" : "SMC",
"module_type" : "ClangTarget",
"name" : "SMC",
"path" : "Sources/SMC",
"product_memberships" : [
"SMC",
"SMCKit"
],
"sources" : [
"smc.c"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
/host/spi-builder-workspace/Sources/SMC/smc.c:25:10: fatal error: 'pthread.h' file not found
25 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[1/3] Compiling SMC smc.c
[1/3] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/Sources/SMC/smc.c:25:10: fatal error: 'pthread.h' file not found
25 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/2] Compiling SMC smc.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm