Build Information
Failed to build Echo, reference 0.0.1 (8a536c), with Swift 6.3 for Wasm on 14 Apr 2026 05:08:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ole/Echo.git
Reference: 0.0.1
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/ole/Echo
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 8a536c3 Fix travis build #3
Cloned https://github.com/ole/Echo.git
Revision (git rev-parse @):
8a536c35b154ba090aa490029e8ee9e77dd9ea99
SUCCESS checkout https://github.com/ole/Echo.git at 0.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/ole/Echo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/6] Write sources
[3/6] Compiling CEcho Functions.c
[4/6] Compiling CEcho KnownMetadata.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/46] Compiling Echo MetadataRequest.swift
[8/46] Compiling Echo MetadataValues.swift
[9/46] Compiling Echo MetatypeMetadata.swift
[10/46] Compiling Echo ObjCClassWrapperMetadata.swift
[11/46] Compiling Echo OpaqueMetadata.swift
[12/46] Compiling Echo StructMetadata.swift
[13/46] Compiling Echo TupleMetadata.swift
[14/46] Compiling Echo TypeMetadata.swift
[15/46] Compiling Echo ValueWitnessTable.swift
[16/46] Compiling Echo ExistentialContainer.swift
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/Sources/Echo/Runtime/Functions.swift:26:2: warning: symbol name 'swift_allocBox' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
24 | }
25 |
26 | @_silgen_name("swift_allocBox")
| `- warning: symbol name 'swift_allocBox' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
27 | public func swift_allocBox(for type: Any.Type) -> BoxPair
28 |
/host/spi-builder-workspace/Sources/Echo/Runtime/Functions.swift:33:2: warning: symbol name 'swift_makeBoxUnique' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
31 | }
32 |
33 | @_silgen_name("swift_makeBoxUnique")
| `- warning: symbol name 'swift_makeBoxUnique' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
34 | func _swift_makeBoxUnique(
35 | for buffer: UnsafeRawPointer,
<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: getBuiltinInt1Metadata
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/Echo/ContextDescriptor/AnonymousDescriptor.swift /host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift /host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ContextDescriptor.swift /host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ContextDescriptorValues.swift /host/spi-builder-workspace/Sources/Echo/ContextDescriptor/EnumDescriptor.swift /host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ExtensionDescriptor.swift /host/spi-builder-workspace/Sources/Echo/ContextDescriptor/FieldDescriptor.swift /host/spi-builder-workspace/Sources/Echo/ContextDescriptor/GenericContext.swift /host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ModuleDescriptor.swift /host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ProtocolDescriptor.swift /host/spi-builder-workspace/Sources/Echo/ContextDescriptor/StructDescriptor.swift /host/spi-builder-workspace/Sources/Echo/ContextDescriptor/TypeContextDescriptor.swift /host/spi-builder-workspace/Sources/Echo/Echo.swift /host/spi-builder-workspace/Sources/Echo/Metadata/ClassMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/EnumMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/EnumValueWitnessTable.swift /host/spi-builder-workspace/Sources/Echo/Metadata/ExistentialMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/ExistentialMetatypeMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/ForeignClassMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/FunctionMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/HeapGenericLocalVariableMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/HeapLocalVariableMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/Metadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/MetadataAccessFunction.swift /host/spi-builder-workspace/Sources/Echo/Metadata/MetadataRequest.swift /host/spi-builder-workspace/Sources/Echo/Metadata/MetadataValues.swift /host/spi-builder-workspace/Sources/Echo/Metadata/MetatypeMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/ObjCClassWrapperMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/OpaqueMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/StructMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/TupleMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/TypeMetadata.swift /host/spi-builder-workspace/Sources/Echo/Metadata/ValueWitnessTable.swift /host/spi-builder-workspace/Sources/Echo/Runtime/ExistentialContainer.swift -primary-file /host/spi-builder-workspace/Sources/Echo/Runtime/Functions.swift -primary-file /host/spi-builder-workspace/Sources/Echo/Runtime/HeapObject.swift -primary-file /host/spi-builder-workspace/Sources/Echo/Runtime/KnownMetadata.swift -primary-file /host/spi-builder-workspace/Sources/Echo/Utils/FieldType.swift -primary-file /host/spi-builder-workspace/Sources/Echo/Utils/Misc.swift /host/spi-builder-workspace/Sources/Echo/Utils/RelativeDirectPointer.swift /host/spi-builder-workspace/Sources/Echo/Utils/RelativeIndirectPointer.swift /host/spi-builder-workspace/Sources/Echo/Utils/RelativeIndirectablePointer.swift /host/spi-builder-workspace/Sources/Echo/Utils/RelativeIndirectablePointerIntPair.swift /host/spi-builder-workspace/Sources/Echo/Utils/RelativePointer.swift -supplementary-output-file-map /tmp/TemporaryDirectory.yycIbe/supplementaryOutputs-7 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-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.3-RELEASE_wasm.artifactbundle/swift-6.3-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/.build/wasm32-unknown-wasip1/debug/CEcho.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/Sources/CEcho/include -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -Xcc -g -no-auto-bridging-header-chaining -module-name Echo -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/Echo.build/Functions.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Echo.build/HeapObject.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Echo.build/KnownMetadata.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Echo.build/FieldType.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Echo.build/Misc.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/index/store -index-system-modules
1. Swift version 6.3 (swift-6.3-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/Echo.build/KnownMetadata.swift.o'.
#0 0x000056394e4dd8b8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x72e18b8)
#1 0x000056394e4db3a5 llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x72df3a5)
#2 0x000056394e4de601 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f5c3ae5f520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f5c3aeb39fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
#5 0x00007f5c3ae5f476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
#6 0x00007f5c3ae457f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
#7 0x0000563947e3a62f (/usr/bin/swift-frontend+0xc3e62f)
#8 0x000056394e4391e6 llvm::report_fatal_error(llvm::Twine const&, bool) (/usr/bin/swift-frontend+0x723d1e6)
#9 0x000056394a544e9c (anonymous namespace)::WebAssemblyAddMissingPrototypes::runOnModule(llvm::Module&) WebAssemblyAddMissingPrototypes.cpp:0:0
#10 0x000056394e1c61ab llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/bin/swift-frontend+0x6fca1ab)
#11 0x0000563947f93c79 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+0xd97c79)
#12 0x0000563947f93515 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+0xd97515)
#13 0x0000563947b621bd generateCode(swift::CompilerInstance&, llvm::StringRef, llvm::Module*, llvm::GlobalVariable*) FrontendTool.cpp:0:0
#14 0x0000563947b5b644 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*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#15 0x0000563947b59e86 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/usr/bin/swift-frontend+0x95de86)
#16 0x0000563947b5ec97 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#17 0x0000563947b5c2cf swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0x9602cf)
#18 0x00005639478d2ad1 swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x6d6ad1)
#19 0x00007f5c3ae46d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#20 0x00007f5c3ae46e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#21 0x00005639478d1205 _start (/usr/bin/swift-frontend+0x6d5205)
*** Signal 6: Backtracing from 0x7f5c3af3b90d... done ***
*** Program crashed: Aborted at 0x000000000000006b ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0 0x00007f5c3af3b90d <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000006 6
rcx 0x00007f5c3af3b90d 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d f3 b4 0f 00 H=·ðÿÿs·ÃH··ó´··
rbx 0x0000000000000006 6
rsi 0x000000000000006b 107
rdi 0x000000000000006b 107
rbp 0x000000000000006b 107
rsp 0x0000563952f65468 2b e6 4d 4e 39 56 00 00 f0 56 f6 52 39 56 00 00 +æMN9V··ðVöR9V··
r8 0x0000563952f656f0 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r9 0x0000563952f656f0 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r10 0x0000563952f656f0 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r11 0x0000000000000246 582
r12 0x0000000000000000 0
r13 0x0000000000000000 0
r14 0x0000000000000000 0
r15 0x0000563952f65478 01 08 00 00 00 00 00 00 d8 04 3f 00 00 00 00 00 ········Ø·?·····
rip 0x00007f5c3af3b90d 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d f3 b4 0f 00 H=·ðÿÿs·ÃH··ó´··
rflags 0x0000000000000246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (26 omitted):
0x00007f5c3ae1d000–0x00007f5c3afd9401 095c7ba148aeca81668091f718047078d57efddb libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.04s
BUILD FAILURE 6.3 wasm