Build Information
Failed to build Echo, reference 0.0.1 (8a536c
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 00:04:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path: $PWD
https://github.com/ole/Echo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-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
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.r9Ycfu/supplementaryOutputs-7 -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/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-wasi/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-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/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-wasi/debug/CEcho.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/Sources/CEcho/include -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/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-wasi/debug/Echo.build/Functions.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Echo.build/HeapObject.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Echo.build/KnownMetadata.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Echo.build/FieldType.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Echo.build/Misc.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1. Swift version 6.2-dev (LLVM 0d47fa0a0fd41fb, Swift 536aa932a9e0ea3)
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-wasi/debug/Echo.build/KnownMetadata.swift.o'.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000055fdf62b7918
1 swift-frontend 0x000055fdf62b543e
2 swift-frontend 0x000055fdf62b7fb1
3 libc.so.6 0x00007fbb9cb23520
4 libc.so.6 0x00007fbb9cb779fc pthread_kill + 300
5 libc.so.6 0x00007fbb9cb23476 raise + 22
6 libc.so.6 0x00007fbb9cb097f3 abort + 211
7 swift-frontend 0x000055fdee9a9c05
8 swift-frontend 0x000055fdf620b2f9
9 swift-frontend 0x000055fdf17a272d
10 swift-frontend 0x000055fdf60a1d5c
11 swift-frontend 0x000055fdeeae4dce
12 swift-frontend 0x000055fdeeae4027
13 swift-frontend 0x000055fdee655894
14 swift-frontend 0x000055fdee650c01
15 swift-frontend 0x000055fdee64f84e
16 swift-frontend 0x000055fdee66142a
17 swift-frontend 0x000055fdee6527de
18 swift-frontend 0x000055fdee651878
19 swift-frontend 0x000055fdee3cd26b
20 libc.so.6 0x00007fbb9cb0ad90
21 libc.so.6 0x00007fbb9cb0ae40 __libc_start_main + 128
22 swift-frontend 0x000055fdee3cc265
BUILD FAILURE 6.2 wasm