Build Information
Failed to build SwiftAprilTag, reference main (038cb9), with Swift 6.1 for Wasm on 29 Jun 2026 10:08:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/keyqcloud/SwiftAprilTag.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/keyqcloud/SwiftAprilTag
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 038cb90 test: per-family fixtures + end-to-end coverage for the wrapper plumbing
Cloned https://github.com/keyqcloud/SwiftAprilTag.git
Revision (git rev-parse @):
038cb9026711ddba05b71c16b32eb364bcfa6ef9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/keyqcloud/SwiftAprilTag.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/keyqcloud/SwiftAprilTag.git
https://github.com/keyqcloud/SwiftAprilTag.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/35] Write sources
[1/35] Compiling image_u8x4.c
In file included from /host/spi-builder-workspace/Sources/CAprilTag/tagStandard41h12.c:29:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/tagStandard41h12.h:31:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/apriltag.h:41:
/host/spi-builder-workspace/Sources/CAprilTag/include/common/pthreads_cross.h:30:10: fatal error: 'pthread.h' file not found
30 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[2/35] Compiling CAprilTag tagStandard41h12.c
[2/35] Compiling image_u8_parallel.c
[2/35] Compiling CAprilTag tagCustom48h12.c
In file included from /host/spi-builder-workspace/Sources/CAprilTag/tagStandard52h13.c:29:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/tagStandard52h13.h:31:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/apriltag.h:41:
/host/spi-builder-workspace/Sources/CAprilTag/include/common/pthreads_cross.h:30:10: fatal error: 'pthread.h' file not found
30 | #include <pthread.h>
| ^~~~~~~~~~~
[2/35] Compiling CAprilTag tagStandard52h13.c
[2/35] Compiling homography.c
[2/35] Compiling image_u8.c
[2/35] Compiling image_u8x3.c
[2/35] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CAprilTag/tag36h10.c:29:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/tag36h10.h:31:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/apriltag.h:41:
/host/spi-builder-workspace/Sources/CAprilTag/include/common/pthreads_cross.h:30:10: fatal error: 'pthread.h' file not found
30 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/33] Compiling CAprilTag tag36h10.c
In file included from /host/spi-builder-workspace/Sources/CAprilTag/tagCircle21h7.c:29:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/tagCircle21h7.h:31:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/apriltag.h:41:
/host/spi-builder-workspace/Sources/CAprilTag/include/common/pthreads_cross.h:30:10: fatal error: 'pthread.h' file not found
30 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/33] Compiling CAprilTag tagCircle21h7.c
[0/33] Compiling CAprilTag tagStandard41h12.c
In file included from /host/spi-builder-workspace/Sources/CAprilTag/tagCircle49h12.c:29:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/tagCircle49h12.h:31:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/apriltag.h:41:
/host/spi-builder-workspace/Sources/CAprilTag/include/common/pthreads_cross.h:30:10: fatal error: 'pthread.h' file not found
30 | #include <pthread.h>
| ^~~~~~~~~~~
[0/33] Compiling CAprilTag tagCircle49h12.c
[0/33] Compiling CAprilTag tag36h11.c
In file included from /host/spi-builder-workspace/Sources/CAprilTag/tagCustom48h12.c:29:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/tagCustom48h12.h:31:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/apriltag.h:41:
/host/spi-builder-workspace/Sources/CAprilTag/include/common/pthreads_cross.h:30:10: fatal error: 'pthread.h' file not found
30 | #include <pthread.h>
| ^~~~~~~~~~~
[0/33] Compiling CAprilTag tagCustom48h12.c
In file included from /host/spi-builder-workspace/Sources/CAprilTag/tagStandard52h13.c:29:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/tagStandard52h13.h:31:
In file included from /host/spi-builder-workspace/Sources/CAprilTag/include/apriltag.h:41:
/host/spi-builder-workspace/Sources/CAprilTag/include/common/pthreads_cross.h:30:10: fatal error: 'pthread.h' file not found
30 | #include <pthread.h>
| ^~~~~~~~~~~
[0/33] Compiling CAprilTag tagStandard52h13.c
[0/33] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm