The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-async-result, reference main (99313d), with Swift 6.2 for Wasm on 7 Apr 2026 15:20:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kylehughes/swift-async-result.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/kylehughes/swift-async-result
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 99313d5 Add explicit `nonisolated(nonsending)` to async methods and closures
Cloned https://github.com/kylehughes/swift-async-result.git
Revision (git rev-parse @):
99313d55d9cff4f9450f409838907b5f12be41d0
SUCCESS checkout https://github.com/kylehughes/swift-async-result.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kylehughes/swift-async-result.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed due to signal 11 (use -v to see invocation)
error: compile command failed due to signal 11 (use -v to see invocation)
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 -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/AsyncResult/AsyncResult.swift -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 -warnings-as-errors -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -mergeable-symbols -enable-experimental-feature Embedded -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 -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -Xcc -D__EMBEDDED_SWIFT__ -Xcc -g -no-auto-bridging-header-chaining -module-name AsyncResult -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 -emit-module-doc-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Modules/AsyncResult.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Modules/AsyncResult.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/AsyncResult.build/include/AsyncResult-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/AsyncResult.build/AsyncResult.emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/AsyncResult.build/AsyncResult.emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Modules/AsyncResult.swiftmodule
1.	Swift version 6.2 (swift-6.2-RELEASE)
2.	Compiling with the current language version
3.	While evaluating request ASTLoweringRequest(Lowering AST to SIL for module AsyncResult)
 #0 0x000056145de2fb78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x72ebb78)
 #1 0x000056145de2d95e llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x72e995e)
 #2 0x000056145de30211 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x00007fb5f0032520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x0000561458f27d51 swift::NominalTypeDecl::getDeclaredInterfaceType() const (/usr/bin/swift-frontend+0x23e3d51)
 #5 0x0000561458666316 (anonymous namespace)::DestructureInputs::destructure(swift::Lowering::AbstractionPattern, swift::ArrayRefView<swift::AnyFunctionType::Param, swift::AnyFunctionType::CanParam, swift::AnyFunctionType::CanParam::getFromParam(swift::AnyFunctionType::Param const&), true>, swift::SILExtInfoBuilder, bool&) SILFunctionType.cpp:0:0
 #6 0x00005614586642cf getSILFunctionType(swift::Lowering::TypeConverter&, swift::TypeExpansionContext, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::AnyFunctionType>, swift::SILExtInfoBuilder, (anonymous namespace)::Conventions const&, swift::ForeignInfo const&, std::optional<swift::SILDeclRef>, std::optional<swift::SILDeclRef>, std::optional<swift::SubstitutionMap>, swift::ProtocolConformanceRef) SILFunctionType.cpp:0:0
 #7 0x000056145865b391 getNativeSILFunctionType(swift::Lowering::TypeConverter&, swift::TypeExpansionContext, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::AnyFunctionType>, swift::SILExtInfoBuilder, std::optional<swift::SILDeclRef>, std::optional<swift::SILDeclRef>, std::optional<swift::SubstitutionMap>, swift::ProtocolConformanceRef) SILFunctionType.cpp:0:0
 #8 0x000056145865dcad getUncachedSILFunctionTypeForConstant(swift::Lowering::TypeConverter&, swift::TypeExpansionContext, swift::SILDeclRef, swift::Lowering::TypeConverter::LoweredFormalTypes) SILFunctionType.cpp:0:0
 #9 0x000056145865eb0d swift::Lowering::TypeConverter::getConstantInfo(swift::TypeExpansionContext, swift::SILDeclRef) (/usr/bin/swift-frontend+0x1b1ab0d)
#10 0x0000561458653848 swift::SILFunctionBuilder::getOrCreateFunction(swift::SILLocation, swift::SILDeclRef, swift::ForDefinition_t, llvm::function_ref<swift::SILFunction* (swift::SILLocation, swift::SILDeclRef)>, swift::ProfileCounter) (/usr/bin/swift-frontend+0x1b0f848)
#11 0x0000561457db36dd swift::Lowering::SILGenModule::getFunction(swift::SILDeclRef, swift::ForDefinition_t) crtstuff.c:0:0
#12 0x0000561457db646f swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) crtstuff.c:0:0
#13 0x0000561457db7116 swift::Lowering::SILGenModule::emitConstructor(swift::ConstructorDecl*) crtstuff.c:0:0
#14 0x0000561457eac725 (anonymous namespace)::SILGenType::emitType() SILGenType.cpp:0:0
#15 0x0000561457eac4e8 swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) crtstuff.c:0:0
#16 0x0000561457db8ce3 swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) crtstuff.c:0:0
#17 0x0000561457db9420 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const (/usr/bin/swift-frontend+0x1275420)
#18 0x0000561457e967a4 std::unique_ptr<swift::SILModule, std::default_delete<swift::SILModule>> swift::SimpleRequest<swift::ASTLoweringRequest, std::unique_ptr<swift::SILModule, std::default_delete<swift::SILModule>> (swift::ASTLoweringDescriptor), (swift::RequestFlags)17>::callDerived<0ul>(swift::Evaluator&, std::integer_sequence<unsigned long, 0ul>) const crtstuff.c:0:0
#19 0x0000561457e966c9 swift::SimpleRequest<swift::ASTLoweringRequest, std::unique_ptr<swift::SILModule, std::default_delete<swift::SILModule>> (swift::ASTLoweringDescriptor), (swift::RequestFlags)17>::evaluateRequest(swift::ASTLoweringRequest const&, swift::Evaluator&) crtstuff.c:0:0
#20 0x0000561457dbd687 swift::ASTLoweringRequest::OutputType swift::Evaluator::getResultUncached<swift::ASTLoweringRequest, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()>(swift::ASTLoweringRequest const&, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()) crtstuff.c:0:0
#21 0x0000561457db989f swift::performASTLowering(swift::ModuleDecl*, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) (/usr/bin/swift-frontend+0x127589f)
#22 0x00005614576bf28a swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xb7b28a)
#23 0x00005614576c1a1a performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) FrontendTool.cpp:0:0
#24 0x00005614576c0efa swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xb7cefa)
#25 0x00005614574676da swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x9236da)
#26 0x00007fb5f0019d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#27 0x00007fb5f0019e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#28 0x0000561457466b35 _start (/usr/bin/swift-frontend+0x922b35)
*** Signal 11: Backtracing from 0x7fb5f00869fc... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000050 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
  0  0x00007fb5f00869fc <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000  0
rdx 0x00007fb5efed4f80  80 4f ed ef b5 7f 00 00 80 59 ed ef b5 7f 00 00  ·Oíïµ····Yíïµ···
rcx 0x00007fb5f00869fc  41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00  A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x000000000000000b  11
rsi 0x0000000000000050  80
rdi 0x0000000000000050  80
rbp 0x0000000000000050  80
rsp 0x0000561461b772e0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
 r8 0x00005614621f54a0  35 3e 5d 03 11 56 00 00 3c d6 81 66 dc 79 c0 d1  5>]··V··<Ö·fÜyÀÑ
 r9 0x0000000000000000  0
r10 0x00007fb5effff108  be 01 00 00 12 00 0f 00 60 24 04 00 00 00 00 00  ¾·······`$······
r11 0x0000000000000246  582
r12 0x000000000000000b  11
r13 0x0000000000000016  22
r14 0x0000000000000000  0
r15 0x0000561461b77448  ff ff ff 7f fe ff ff ff 00 00 00 00 00 00 00 00  ÿÿÿ·þÿÿÿ········
rip 0x00007fb5f00869fc  41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00  A·ÅA÷Ý=·ðÿÿ¸····
rflags 0x0000000000000246  ZF PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (25 omitted):
0x00007fb5efff0000–0x00007fb5f01ac3c1 4f7b0c955c3d81d7cac1501a2498b69d1d82bfe7 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.00s
BUILD FAILURE 6.2 wasm