The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-async-result, reference 1.1.0 (99313d), with Swift 6.2 for Wasm on 7 Apr 2026 14:01:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 1.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/kylehughes/swift-async-result
 * tag               1.1.0      -> FETCH_HEAD
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 1.1.0
========================================
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-2":/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 0x0000558776cbfb78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x72ebb78)
 #1 0x0000558776cbd95e llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x72e995e)
 #2 0x0000558776cc0211 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x00007f3497118520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x0000558771db7d51 swift::NominalTypeDecl::getDeclaredInterfaceType() const (/usr/bin/swift-frontend+0x23e3d51)
 #5 0x00005587714f6316 (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 0x00005587714f42cf 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 0x00005587714eb391 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 0x00005587714edcad getUncachedSILFunctionTypeForConstant(swift::Lowering::TypeConverter&, swift::TypeExpansionContext, swift::SILDeclRef, swift::Lowering::TypeConverter::LoweredFormalTypes) SILFunctionType.cpp:0:0
 #9 0x00005587714eeb0d swift::Lowering::TypeConverter::getConstantInfo(swift::TypeExpansionContext, swift::SILDeclRef) (/usr/bin/swift-frontend+0x1b1ab0d)
#10 0x00005587714e3848 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 0x0000558770c436dd swift::Lowering::SILGenModule::getFunction(swift::SILDeclRef, swift::ForDefinition_t) crtstuff.c:0:0
#12 0x0000558770c4646f swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) crtstuff.c:0:0
#13 0x0000558770c47116 swift::Lowering::SILGenModule::emitConstructor(swift::ConstructorDecl*) crtstuff.c:0:0
#14 0x0000558770d3c725 (anonymous namespace)::SILGenType::emitType() SILGenType.cpp:0:0
#15 0x0000558770d3c4e8 swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) crtstuff.c:0:0
#16 0x0000558770c48ce3 swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) crtstuff.c:0:0
#17 0x0000558770c49420 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const (/usr/bin/swift-frontend+0x1275420)
#18 0x0000558770d267a4 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 0x0000558770d266c9 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 0x0000558770c4d687 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 0x0000558770c4989f swift::performASTLowering(swift::ModuleDecl*, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) (/usr/bin/swift-frontend+0x127589f)
#22 0x000055877054f28a swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xb7b28a)
#23 0x0000558770551a1a performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) FrontendTool.cpp:0:0
#24 0x0000558770550efa swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xb7cefa)
#25 0x00005587702f76da swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x9236da)
#26 0x00007f34970ffd90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#27 0x00007f34970ffe40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#28 0x00005587702f6b35 _start (/usr/bin/swift-frontend+0x922b35)
*** Signal 11: Backtracing from 0x7f349716c9fc... done ***
*** Program crashed: Bad pointer dereference at 0x000000000000004e ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
  0  0x00007f349716c9fc <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000  0
rdx 0x00007f3496fbaf80  80 af fb 96 34 7f 00 00 80 b9 fb 96 34 7f 00 00  ·¯û·4····¹û·4···
rcx 0x00007f349716c9fc  41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00  A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x000000000000000b  11
rsi 0x000000000000004e  78
rdi 0x000000000000004e  78
rbp 0x000000000000004e  78
rsp 0x000055877bb352e0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
 r8 0x000055877c16f710  6f c1 77 58 05 00 00 00 2f 6c 6c 76 6d 2d 73 79  oÁwX····/llvm-sy
 r9 0x0000000000000000  0
r10 0x00007f34970e5108  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 0x000055877bb353b8  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
rip 0x00007f349716c9fc  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):
0x00007f34970d6000–0x00007f34972923c1 4f7b0c955c3d81d7cac1501a2498b69d1d82bfe7 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.00s
BUILD FAILURE 6.2 wasm