The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftAprilTag, reference main (038cb9), with Swift 6.2 for Wasm on 29 Jun 2026 10:28:04 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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build 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.2
Building package at path:  $PWD
https://github.com/keyqcloud/SwiftAprilTag.git
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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/35] Compiling image_u8_parallel.c
[1/35] Write sources
[2/35] Compiling g2d.c
[3/35] Compiling image_u8.c
[4/35] Compiling getopt.c
[5/35] Write swift-version-24593BA9C3E375BF.txt
[6/35] Compiling homography.c
[7/35] Compiling CAprilTag apriltag_pose.c
[8/35] Compiling CAprilTag tagStandard41h12.c
[9/35] Compiling CAprilTag tagCircle21h7.c
[10/35] Compiling CAprilTag tag36h11.c
[11/35] Compiling CAprilTag tag36h10.c
[12/35] Compiling CAprilTag tag25h9.c
[13/35] Compiling CAprilTag tag16h5.c
[14/35] Compiling CAprilTag tagStandard52h13.c
[15/35] Compiling CAprilTag apriltag_quad_thresh.c
[16/35] Compiling CAprilTag tagCustom48h12.c
[17/35] Compiling zmaxheap.c
[18/35] Compiling zarray.c
[19/35] Compiling unionfind.c
[20/35] Compiling svd22.c
[21/35] Compiling time_util.c
[22/35] Compiling CAprilTag tagCircle49h12.c
[23/35] Compiling zhash.c
[24/35] Compiling pthreads_cross.c
[25/35] Compiling workerpool.c
[26/35] Compiling pnm.c
[27/35] Compiling pjpeg-idct.c
[28/35] Compiling pam.c
[29/35] Compiling pjpeg.c
[30/35] Compiling image_u8x3.c
[31/35] Compiling image_u8x4.c
[32/35] Compiling string_util.c
[33/35] Compiling matd.c
[34/35] Compiling CAprilTag apriltag.c
error: compile command failed due to signal 6 (use -v to see invocation)
[36/46] Compiling SwiftAprilTag Detector+CVPixelBuffer.swift
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Functions with 'no-prototype' attribute must take varargs: tagStandard52h13_create
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SwiftAprilTag/CameraIntrinsics+AVFoundation.swift /host/spi-builder-workspace/Sources/SwiftAprilTag/CameraIntrinsics.swift /host/spi-builder-workspace/Sources/SwiftAprilTag/Detection+CGPath.swift /host/spi-builder-workspace/Sources/SwiftAprilTag/Detection+Pose.swift /host/spi-builder-workspace/Sources/SwiftAprilTag/Detection.swift /host/spi-builder-workspace/Sources/SwiftAprilTag/Detector+CGImage.swift /host/spi-builder-workspace/Sources/SwiftAprilTag/Detector+CVPixelBuffer.swift /host/spi-builder-workspace/Sources/SwiftAprilTag/Detector+UIImage.swift /host/spi-builder-workspace/Sources/SwiftAprilTag/Detector.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAprilTag/TagFamily.swift /host/spi-builder-workspace/Sources/SwiftAprilTag/TagPose.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/SwiftAprilTag.build/TagFamily.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/SwiftAprilTag.build/TagFamily.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/SwiftAprilTag.build/TagFamily.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fmodule-map-file=/host/spi-builder-workspace/Sources/CAprilTag/include/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/Sources/CAprilTag/include -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -Xcc -g -no-auto-bridging-header-chaining -module-name SwiftAprilTag -package-name spi_builder_workspace -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/SwiftAprilTag.build/TagFamily.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/index/store -index-system-modules
1.	Swift version 6.2 (swift-6.2-RELEASE)
2.	Compiling with effective version 5.10
3.	Running pass 'Add prototypes to prototypes-less functions' on module '/host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/SwiftAprilTag.build/TagFamily.swift.o'.
 #0 0x00006502bec4cb78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x72ebb78)
 #1 0x00006502bec4a95e llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x72e995e)
 #2 0x00006502bec4d211 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x000077ffb6bab520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x000077ffb6bff9fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
 #5 0x000077ffb6bab476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x000077ffb6b917f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x00006502b87893fc (/usr/bin/swift-frontend+0xe283fc)
 #8 0x00006502bebac729 llvm::report_fatal_error(llvm::Twine const&, bool) (/usr/bin/swift-frontend+0x724b729)
 #9 0x00006502bae4701c (anonymous namespace)::WebAssemblyAddMissingPrototypes::runOnModule(llvm::Module&) WebAssemblyAddMissingPrototypes.cpp:0:0
#10 0x00006502bea6ea25 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/bin/swift-frontend+0x710da25)
#11 0x00006502b88d10e6 swift::compileAndWriteLLVM(llvm::Module*, llvm::TargetMachine*, swift::IRGenOptions const&, swift::UnifiedStatsReporter*, swift::DiagnosticEngine&, llvm::raw_pwrite_stream&, llvm::sys::SmartMutex<false>*, llvm::raw_pwrite_stream*) (/usr/bin/swift-frontend+0xf700e6)
#12 0x00006502b88d08c9 swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, llvm::vfs::OutputBackend&, swift::UnifiedStatsReporter*) (/usr/bin/swift-frontend+0xf6f8c9)
#13 0x00006502b84e1b22 generateCode(swift::CompilerInstance&, llvm::StringRef, llvm::Module*, llvm::GlobalVariable*) FrontendTool.cpp:0:0
#14 0x00006502b84dd408 performCompileStepsPostSILGen(swift::CompilerInstance&, std::unique_ptr<swift::SILModule, std::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) FrontendTool.cpp:0:0
#15 0x00006502b84dc0d3 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xb7b0d3)
#16 0x00006502b84dea1a performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) FrontendTool.cpp:0:0
#17 0x00006502b84ddefa swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xb7cefa)
#18 0x00006502b82846da swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x9236da)
#19 0x000077ffb6b92d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#20 0x000077ffb6b92e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#21 0x00006502b8283b35 _start (/usr/bin/swift-frontend+0x922b35)
BUILD FAILURE 6.2 wasm